Commit Graph

1714 Commits

Author SHA1 Message Date
0283c6b0f9 build: disable rtti for release builds 2015-10-08 12:20:56 +11:00
98ef67fa8d n/basis: add noexcept to all generators 2015-10-08 12:20:25 +11:00
e769b8f74a noise: annotate generators with noexcept 2015-10-07 14:37:22 +11:00
f0f1522307 n/basis: extract gradient generators 2015-10-07 14:36:55 +11:00
ed124949a8 n/turbulence: quiesce warning about glorious hack 2015-10-07 00:23:28 +11:00
8b458ad452 noise: reduce repetition in template params 2015-10-07 00:22:05 +11:00
b464f089a5 noise: use permutation random generator
much faster for common operations
2015-10-06 21:19:17 +11:00
e80e445645 noise: support n-dimensional noise 2015-10-06 15:45:26 +11:00
29c6c50fda coord/base: don't use std::fill in constexpr 2015-10-06 15:24:31 +11:00
0799b2cd75 extent: instantiate extent_range for 1-3 dimensions 2015-10-06 15:22:14 +11:00
a342654ae1 maths: add namespaced wrappers 2015-10-06 15:21:48 +11:00
e12edc6c0a types: add elems implementation for container types 2015-10-06 15:20:51 +11:00
f7a1ead518 point: remove constexpr from functions relying on cmath 2015-10-06 15:20:06 +11:00
7753e37dc3 vector: add constant sized convenience typedefs 2015-10-06 15:19:29 +11:00
31b59df97a point: add constant sized convenience typedefs 2015-10-06 15:19:06 +11:00
a03d407204 n/basis: simplify fractional point extraction 2015-09-29 18:07:12 +10:00
50c1088918 coord/ops: add vector floor function 2015-09-29 18:06:52 +10:00
0f0e3a8c93 noise/basis: add exp weighted perlin gradient basis
useful for terrain generation
2015-09-29 17:42:20 +10:00
96713038d5 build: style 2015-09-29 17:42:20 +10:00
2653a8ecee maths/fast: remove, it's broken 2015-09-29 17:42:20 +10:00
5a8201f78b n/b/patch: remove broken fastmath calls 2015-09-29 17:42:20 +10:00
464c703ffd extent: add range-for adapter for extent points 2015-09-29 17:32:11 +10:00
543da8f15e view: remove non-constexpr debugging call 2015-09-29 17:31:45 +10:00
c037055c95 range: add subtraction operator definition 2015-09-29 17:31:20 +10:00
91a01c2742 noise-tool: give a random offset per-image
prevents gridpoint artefacts being so obvious
2015-09-25 15:16:15 +10:00
4310366987 view: make methods constexpr
the class is used in some constexpr parsing routines, so constexpr for
many methods is required.
2015-09-25 13:41:04 +10:00
c7637fd627 point: add octile distance function 2015-09-22 18:32:11 +10:00
56b5c34b5d view: move implementation inline
this allows support for arbitrary iterator types
2015-09-22 18:31:47 +10:00
86834281b8 coord: add 16 bit value instantiations 2015-09-22 17:24:16 +10:00
b58dd7a880 extent: fix double negative for contraction 2015-09-22 17:23:54 +10:00
a83aa188e4 rational: add type deducing divide/multiply 2015-09-21 16:36:38 +10:00
4b253a57f7 rational: add operator int 2015-09-21 16:35:31 +10:00
7ccad71e6e format: recognise specifiers for char*, size_t 2015-09-21 16:34:15 +10:00
7092e45d7a library: make path constructors explicit 2015-09-21 15:41:02 +10:00
5c72953653 coord: remove inadvertant warning disabling 2015-09-21 15:40:36 +10:00
37f9390ef8 view: template on arbirtrary iterator types 2015-09-21 15:36:05 +10:00
905f4de303 coord: make size accessor static
static members work on expressions in c++11 now.
2015-09-21 15:35:18 +10:00
bcaa6c7428 region: add cast function 2015-09-21 15:33:58 +10:00
2469450ea9 murmur3: streamline 128 bit hash round functions
clang was getting tripped up calculating the tail half-rounds for the
128 bit hashes, so we streamline the round functions so it copes a
little better. plus, this is better code anyway.
2015-09-21 15:32:23 +10:00
ec42319224 coord: test for proper packing 2015-09-21 15:27:36 +10:00
864cedc257 point: add single dimensional typedefs 2015-09-21 15:26:57 +10:00
37526a5df3 tap: move base expect method to ipp file
allows use of format strings for simple boolean expressions
2015-09-21 15:25:56 +10:00
3af04b7982 image: add cend/cbegin 2015-09-21 12:35:44 +10:00
118d1accce extent: add a point inclusion query 2015-09-16 02:26:00 +10:00
4fad54f0b0 extent: don't fully qualify the primary object 2015-09-16 02:25:31 +10:00
381da163e2 maths: style 2015-09-16 02:24:49 +10:00
0967c5252f io: remove useless chdir wrapper
just use chdir directly.
2015-09-15 21:09:37 +10:00
b084cb2e4c image: index operator should return references
this allows the caller to use the return value's address
2015-09-15 21:08:00 +10:00
040e935b6d n/f/rmf: add offset accessor 2015-09-15 21:07:41 +10:00
6c7c35d2dd n/f/hetero: add default offset estimation 2015-09-15 21:07:13 +10:00