Commit Graph

3247 Commits

Author SHA1 Message Date
480bcdc555 image: fix buffer stride initialisation 2015-10-29 10:51:42 +11:00
cb12d4fd1f io: remove redundant write overloads 2015-10-29 10:51:42 +11:00
73720feceb io: remove access_flag abstraction 2015-10-29 10:48:11 +11:00
1de33ce53c debug: use new namespace 2015-10-29 10:45:42 +11:00
2702c53df4 debug: make panic and friends constexpr 2015-10-29 10:43:41 +11:00
ba9a8f8b35 io: add more write wrappers 2015-10-20 21:04:14 +11:00
003685ce2b image: templatise on component count 2015-10-20 16:54:15 +11:00
03efa074ab maths: make limit constexpr 2015-10-20 16:54:15 +11:00
c2770a266b maths: split normalise functions 2015-10-20 16:54:15 +11:00
3991848726 coord: add vector relational operators 2015-10-20 12:37:08 +11:00
b5929b7b4a image: remove access to w/h/s members 2015-10-19 17:43:48 +11:00
fdb12e57f6 log: call format::operator% directly
one of the arguments may have overloaded operator% which may cause weird
compile-time errors
2015-10-19 17:41:56 +11:00
d847071f76 extent: add convenience size typedefs 2015-10-19 17:09:00 +11:00
b45255900c netpbm: avoid image w/h/s variables 2015-10-19 17:08:35 +11:00
4cd6dcc85c region: use size_type for scaling param 2015-10-19 17:08:08 +11:00
f9bb2be93c noise/midpoint: use explicit image extent query 2015-10-19 17:07:53 +11:00
36b4043faf maths: add identity function 2015-10-19 17:06:52 +11:00
60f16cdc4a WIP coord: clean up operation templates 2015-10-19 17:06:19 +11:00
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