Commit Graph

1447 Commits

Author SHA1 Message Date
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
21b51a5011 point: make distance metrics constexpr 2015-09-15 21:06:43 +10:00
95e5fc5834 maths: add namespaced wrapper for abs 2015-09-15 21:06:23 +10:00
286dd05481 hash: fix parameter names in mix wrappers 2015-09-15 21:06:00 +10:00
b66a3ba46f coord: make size method constexpr 2015-09-15 21:05:37 +10:00
ee401e4409 noise-tool: don't check tty until after options
options may include a help request which we'll want to respond to
before checking the output stream.
2015-09-11 19:55:52 +10:00
736fe9a156 cmdopt: add a simple omnipresent help option 2015-09-11 19:55:32 +10:00
ad2f3261de threads: use explicit constructors where possible 2015-09-11 19:55:06 +10:00
ff2ca6982c m4: dont use Og 2015-09-10 22:49:12 +10:00
da122bfb00 m4: bump for improved vectorisation and devirtualisation 2015-09-10 14:40:18 +10:00
e829e95791 noise-tool: use windows accessible isnan 2015-09-09 19:44:51 +10:00
dd84b7022e n/turbulence: style 2015-09-09 18:45:23 +10:00
c41b58b47d matrix: avoid infinite recursion in invert 2015-09-09 18:45:23 +10:00
29663140e0 ip: style 2015-09-09 18:45:23 +10:00
2741cf6375 build: quiesce analyzer warnings 2015-09-09 18:45:23 +10:00
0302df1ba8 extent: quiesce clang abs warnings for unsigned types 2015-09-09 18:45:23 +10:00
07885819e3 except: add expect conditions for try_code 2015-09-09 18:45:23 +10:00
9445b29bd3 test/json_types: use new style parse signature 2015-09-09 18:45:23 +10:00