Commit Graph

3040 Commits

Author SHA1 Message Date
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
d2c174f2e1 Change PBM output mode to system default.
It's ASCII output at the moment anyway, so it shouldn't be an issue.
2012-05-17 14:16:40 +10:00
3b9d9cde30 Correct exception namespacing for Windows header 2012-05-17 14:16:09 +10:00
9b8419bd8d Bump the required boost version to 1.49 2012-05-17 14:15:47 +10:00
54f6811058 Add simple PGM and PPM image writers 2012-05-16 15:03:49 +10:00
dd3f25decc Make internal functions static within perlin 2012-05-16 15:03:01 +10:00
f7c32ed76e Add copyright header to perlin 2012-05-16 15:01:41 +10:00
7c20614079 Add output_error exception 2012-05-16 15:01:21 +10:00
6e82915975 Place util exceptions in the util namespace 2012-05-16 15:01:01 +10:00
c6a3831840 Enable flto and generic tuning optimisations 2012-05-15 16:07:03 +10:00
b670c76995 Temporarily disable features unsupported by i686-pc-mingw 2012-05-15 16:06:18 +10:00
76ffb05c23 Disable CHECK calls when not debugging 2012-05-15 16:05:27 +10:00
0c86a8b240 Dont put a block around DEBUG_ONLY statements.
This allows variable declerations, raii statements, and other hackery to
affect surrounding code more easily.
2012-05-15 16:04:35 +10:00
e8844943a7 Add count, sum, and mean for stats accumulator 2012-05-15 16:04:06 +10:00
ee6fb59e99 Properly namespace the null backtrace output op 2012-05-15 16:03:14 +10:00
faa44b24ef Add simple stat accumulator class 2012-05-14 16:11:09 +10:00
83a30c9d94 Uppercase usage of check in json tests 2012-05-14 16:10:32 +10:00