Commit Graph

856 Commits

Author SHA1 Message Date
53456c9762 Use a fixed size type for noise basis
This assists somewhat in de/serialising of noise parameters across
architectures.
2012-06-08 16:49:38 +10:00
b960319436 Add position_type typedef for regions 2012-06-08 16:49:09 +10:00
9098ea408d Add contains vs includes region tests 2012-06-08 16:48:33 +10:00
93275a43a7 Add size_cast for size reductions 2012-06-08 16:46:03 +10:00
58e69fbd44 Instance the point ostream operators 2012-06-08 16:45:39 +10:00
45a61db86b Fully qualify logging function name 2012-06-08 16:45:18 +10:00
5fea995a4d Include detail/coord.hpp in source list 2012-06-05 23:44:31 +10:00
4795e7f054 Add copy and assignment operators to util::extent 2012-06-05 22:50:52 +10:00
aad9a8377c Move to_json and from_json to root namespace 2012-06-05 22:50:31 +10:00
932f7a4ec3 Add aspect query for extent 2012-06-04 14:51:25 +10:00
3c0368e74c Allow messages for not_implemented errors 2012-06-04 14:50:58 +10:00
e889aa35b4 Add forgotten coord base class header 2012-05-30 20:20:43 +10:00
0ac8785b2a Fix some whitespace errors 2012-05-30 20:20:19 +10:00
9d27f798aa Add forgotten implementation for fourcc
It was pulled from types.hpp recently.
2012-05-26 18:02:57 +10:00
83343ee7a1 Move declerations for code style 2012-05-26 18:02:38 +10:00
247d47f733 Add more scalar operators 2012-05-26 18:02:11 +10:00
71576c9e7b Fix test case headers for new types.hpp 2012-05-26 18:01:54 +10:00
ea71f958f4 Instancing and construction fixups for clang 2012-05-26 18:01:04 +10:00
71c4df0cac Select endian conversion method based on compiler 2012-05-26 17:59:50 +10:00
a9453c02ea Add commented out reminder for -Wzero-as-null 2012-05-26 17:58:36 +10:00
45a1b6b93c Make width/height unsigned where possible 2012-05-25 15:30:28 +10:00
4899f08772 Add always_unsigned type conversion template 2012-05-25 15:30:11 +10:00
f9cc4926f2 Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
3d61e01f62 Default initialise all values in base fractal 2012-05-24 21:25:18 +10:00
55ca32362c Style consistency for fractal headers. 2012-05-24 17:09:06 +10:00
9616c045d9 Improve cellular output bounds checking 2012-05-24 17:08:47 +10:00
59d2862508 Correct int/frac coordinates for negative position 2012-05-24 17:08:11 +10:00
4793f435c9 Remove debugging output from image writer 2012-05-24 17:07:40 +10:00
f3b829e232 Add a soft bounds check for range::normalise 2012-05-24 17:07:17 +10:00
b86cc6904f Use binary output for pgm/ppm 2012-05-24 17:07:01 +10:00
c354cf6ed6 Normalise basis values and give expected bounds 2012-05-24 15:04:06 +10:00
aabbf231c5 Add more scalar operators for range 2012-05-24 15:03:26 +10:00
ea9d6c175d Support initial NaN range with range::expand 2012-05-23 20:42:05 +10:00
124878fc98 Add cellular noise implementation 2012-05-23 20:42:05 +10:00
3885e9a9ab Dont rescale fractal noise before image output 2012-05-23 20:42:05 +10:00
eecc648954 Add more scalar operators 2012-05-23 20:42:05 +10:00
3d8213e00c Change licence header to match libgim default 2012-05-23 17:04:46 +10:00
f1505e8b31 Remove return type from range::expand 2012-05-23 17:01:54 +10:00
bcab28826c Move noise functions into their own directory 2012-05-23 17:01:30 +10:00
c9242467d8 Add scalar operator overloads for vector 2012-05-22 14:13:34 +10:00
db6c603517 Add array randomisation helper routine 2012-05-22 14:13:07 +10:00
2783bcaa23 Check weight is within bounds for quintic lerp 2012-05-22 14:12:30 +10:00
be0426ff24 Add range expansion method 2012-05-22 14:12:06 +10:00
40c40507f9 Give vector and point templated dimension size 2012-05-18 17:56:24 +10:00
a195f47bdf Add -fno-deduce-init-list for template constructor
When using variadic template constructors which forward their arguments
to base classes we tend to get a lot of warnings about auto deduction of
initializer_list types from aggregate initialiser syntax. As this is
apparently expected to be removed from the standard we'll hide the
warnings this way.
2012-05-18 17:53:23 +10:00
700245b5bf Use jobserver if available for flto 2012-05-17 14:38:13 +10:00
fd64e95a7d Expose the perlin class publically 2012-05-17 14:37:56 +10:00
3b8f4597bf Reformulate perlin into a struct 2012-05-17 14:18:39 +10:00
d81537ba51 Change lerp implementations to same weighting form 2012-05-17 14:18:03 +10:00
6305261270 Add trun, cubic, and quintic lerp methods 2012-05-17 14:17:42 +10:00