Commit Graph

1629 Commits

Author SHA1 Message Date
b824691541 coord: add front/back methods 2015-10-19 16:23:49 +11:00
97a4e3af1a image: remove broken downsample code 2015-10-19 14:37:48 +11:00
77a94e227a adapter: wrappers for iterators and containers 2015-10-19 12:06:23 +11:00
634f2af9cc coord/ops: don't use multiplication for negation 2015-10-19 12:06:03 +11:00
5ed95ec952 coord/ops: use common_type for results 2015-10-19 12:06:03 +11:00
d73e86b374 coord: avoid casting errors for coord types 2015-10-19 12:06:03 +11:00
f6933fb87d coord/base: c++14 style 2015-10-19 12:01:29 +11:00
b47cb6c560 g/cylinder: use (barely) saner member names 2015-10-15 00:38:54 +11:00
ac06282f03 geom: add more primitives 2015-10-14 15:32:53 +11:00
c9d5014e8a build: add forgotten files for dist 2015-10-14 15:22:08 +11:00
20bafa2cfb geom: move geometry primitives to own namespace 2015-10-13 18:19:47 +11:00
51b8ef762a noise/fractal: add default constructors
we often use these in arrays which are annoying to construct otherwise
2015-10-13 00:04:17 +11:00
02e0885ee9 maths: make pow more readable 2015-10-12 23:56:59 +11:00
3e884113fd coord: add elementwise pow function 2015-10-12 23:56:41 +11:00
bb6256c5a2 m4: bump for autocruft 2015-10-12 19:20:29 +11:00
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