Commit Graph

80 Commits

Author SHA1 Message Date
b39f80e606 hash/crc: parameterise on type and polynomial generator 2017-02-13 17:13:46 +11:00
e1aacef7a2 stream: use scoped manipulators 2017-01-05 20:21:20 +11:00
a63e6c213e tools/scratch: add iostream header 2017-01-05 16:46:20 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
48364cd227 build: use experimental::fs over boost::fs 2016-10-07 19:48:42 +11:00
116ad04a1f build: use ostream/istream over iostream 2016-08-04 17:42:41 +10:00
bf5cab6156 io: move view conversion operator to named function 2016-06-28 15:58:41 +10:00
642317f6a4 json: use templated iterator for parsing from views 2016-06-28 14:16:28 +10:00
0ac9225351 tools/hash: use new simple hash api 2016-06-20 16:53:56 +10:00
38cb91fcb5 tools/hash: style 2016-06-17 14:59:11 +10:00
e62af110b6 tools/hash: protect against invalid arg count 2016-06-17 14:58:12 +10:00
456362adff t/json-validate: catch only json exceptions
the json namespace should really only be throwing json errors. this tool
is primarily used for unit testing, so it's better it crashes
catastrophically on an unhandled exception.
2016-04-27 17:10:36 +10:00
2fbf9af8cb t/json-schema: reduce scope of schema and input 2016-04-27 17:09:48 +10:00
9036a26743 scratch: add forgotten header
sigh..
2016-03-15 13:57:19 +11:00
8ea827aab0 tools/scratch: remove inadvertantly committed code
scratch should always be a noop. It's only here to simplify testing of
new code.
2016-03-15 12:30:23 +11:00
a59844be98 don't pull in namespace std 2016-03-11 13:28:56 +11:00
3993e561f8 unify licences 2016-02-26 13:36:01 +11:00
c31082716a netpbm: move netpbm into image library 2016-02-24 13:51:26 +11:00
817eb50efc image: move buffer into image directory 2016-02-19 13:56:12 +11:00
e85ffe5160 scratch-tool: add main arguments for convenience 2016-02-03 13:15:19 +11:00
9cb25456a4 scratch-tool: add simple debug skeleton
simplifies writing quick test commands linking against the library
2016-02-02 12:11:38 +11:00
003685ce2b image: templatise on component count 2015-10-20 16:54:15 +11:00
f0f1522307 n/basis: extract gradient generators 2015-10-07 14:36:55 +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
0f0e3a8c93 noise/basis: add exp weighted perlin gradient basis
useful for terrain generation
2015-09-29 17:42: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
ee401e4409 noise-tool: don't check tty until after options
options may include a help request which we'll want to respond to
before checking the output stream.
2015-09-11 19:55:52 +10:00
e829e95791 noise-tool: use windows accessible isnan 2015-09-09 19:44:51 +10:00
13ef16e183 noise-tool: expose more parameters via commandline 2015-08-28 21:09:21 +10:00
3d35874f58 noise-tool: remove dead code 2015-08-28 21:04:55 +10:00
48d6a007a2 n/b/patch: add blur width parameter 2015-07-28 18:14:10 +10:00
33dece611a n/basis: add patch basis function 2015-07-24 01:37:36 +10:00
b6ce75aca6 build: windows fixes 2015-07-23 13:53:48 +10:00
6b712e2f57 n/midpoint: extract midpoint displacement funcs 2015-07-01 01:03:34 +10:00
ddf9f0a22a n/midpoint: add jitter to edge midpoints 2015-07-01 00:15:49 +10:00
1211ee0876 noise-tool: stub midpoint/diamond noise functions 2015-06-30 22:23:57 +10:00
de710c2082 noise-tool: remove unnecessary debug output 2015-06-17 03:10:08 +10:00
eeeb8977ec noise-tool: correct single octave difference 2015-06-17 03:09:22 +10:00
d9d7cd6f5b noise-tool: allow single octave output 2015-06-15 17:48:49 +10:00
544d4d9624 noise-tool: add command arguments 2015-06-11 19:35:45 +10:00
b752e78036 noise-tool: remove noisy debug messages 2015-06-10 21:30:43 +10:00
250b8d21ec cmdopt: add simple reimplementation of libcmdopt 2015-06-10 21:30:43 +10:00
9db4dd5b08 image: remove unneeded area query 2015-06-09 15:37:35 +10:00
6926c95d4d noise-tool: add simple hydraulic erosion 2015-06-04 20:20:03 +10:00
86d51f182f noise-tool: add simple thermal erosion 2015-06-04 17:16:46 +10:00
851f7b9351 noise-tool: offset heights to ensure landmass 2015-06-04 15:13:58 +10:00
53917404b4 noise-tool: extract map writing function 2015-06-04 14:40:47 +10:00
c82f3aad2e netpbm: extract ppm/pgm into distinct unit 2015-06-03 23:24:26 +10:00