Commit Graph

1718 Commits

Author SHA1 Message Date
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
6193ffd407 Put debugging defines in config.h 2012-05-14 16:10:11 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
c1ba948b20 Add region::overlap to for overlapping regions 2012-05-11 12:22:23 +10:00
4dc7a3ca49 Add simple region overlap testcase 2012-05-11 12:21:47 +10:00
f4ab656ef1 Temporarily disable broken test case 2012-05-11 12:20:54 +10:00
e3072aeedb Add an early out for empty signals 2012-05-11 12:20:32 +10:00
c2c8fea6cc Define raii in terms of PASTE 2012-05-11 12:19:56 +10:00
e55aa07874 Rename CONCAT to PASTE and add STRINGIFY 2012-05-11 12:19:36 +10:00
7576f80b30 Rename scoped_malloc::data to ::get 2012-05-11 12:19:06 +10:00
c81919dbe7 Disable LOG_DEBUG when debugging isn't enabled 2012-05-11 12:18:41 +10:00
820f28d4b1 Ensure the log is flushed at end of print 2012-05-11 12:18:27 +10:00
7281930a39 Only use abbreviated names for log levels 2012-05-11 12:18:08 +10:00
ba92eed1f5 More checks for json number parsing 2012-05-11 12:17:40 +10:00
63cde2272b Add Windows implementation of breakpoint 2012-05-11 12:15:46 +10:00
9624aff9df Add host specific debug information 2012-05-10 16:56:25 +10:00
cc9a157e9c Add arch specific optimisation flags 2012-05-10 16:55:38 +10:00
ac5a5d3a7d Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
71a1592413 Cast to avoid signedness warnings in sleep 2012-05-08 16:40:10 +10:00
474a808f79 Add exactly_zero call 2012-05-08 16:39:58 +10:00
7ddc076916 Quiecse some unusused parameter warnings 2012-05-08 16:38:55 +10:00
3548dcd675 Use std::array for level_to_string
* Explicitly uses the correct size.
* Remove some 'unsafe loop optimisation' warnings
2012-05-08 16:37:38 +10:00
88c86a40a7 Remove wunsafe-loop-optimisations. False positives 2012-05-08 16:37:03 +10:00