Commit Graph

236 Commits

Author SHA1 Message Date
1ec9582240 alloc: add initial allocator stubs 2015-11-13 17:18:10 +11:00
6561e46018 memory: remove legacy scoped_malloc 2015-11-13 13:48:46 +11:00
32ca27abdf memory: add paged and circular buffers 2015-11-11 16:56:35 +11:00
597fda0dfa memory: add pagesize query 2015-11-11 16:56:00 +11:00
a73fb9307c matrix: extract size dependant operations 2015-11-04 23:23:46 +11:00
77a94e227a adapter: wrappers for iterators and containers 2015-10-19 12:06:23 +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
f0f1522307 n/basis: extract gradient generators 2015-10-07 14:36:55 +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
96713038d5 build: style 2015-09-29 17:42:20 +10:00
2653a8ecee maths/fast: remove, it's broken 2015-09-29 17:42:20 +10:00
56b5c34b5d view: move implementation inline
this allows support for arbitrary iterator types
2015-09-22 18:31:47 +10:00
a83aa188e4 rational: add type deducing divide/multiply 2015-09-21 16:36:38 +10:00
bcaa6c7428 region: add cast function 2015-09-21 15:33:58 +10:00
ec42319224 coord: test for proper packing 2015-09-21 15:27:36 +10:00
673dfd87dd threads: add references to forgotten thread files 2015-08-28 21:09:38 +10:00
5dd5c95e83 library: initial wrapper 2015-08-10 15:51:44 +10:00
243716a121 threads: add posix/win32 thread wrappers 2015-08-10 15:51:10 +10:00
1a2aa64af6 win32: add registry wrapper 2015-08-10 15:50:43 +10:00
960448b6ac posix: add dir wrapper 2015-08-10 15:50:12 +10:00
eb155d5bb0 m/fast: add some fast maths approximations 2015-07-29 16:11:48 +10:00
33dece611a n/basis: add patch basis function 2015-07-24 01:37:36 +10:00
86b36afc49 image: add simple offset test 2015-07-23 21:19:15 +10:00
5d6586636e time: split off platform units 2015-07-23 14:13:09 +10:00
5b8df525a2 vector: add homogenous converter
added for symmetry with point classes
2015-07-21 01:41:48 +10:00
f451e5555e format: add trivial printf wrapper 2015-07-21 01:37:45 +10:00
8840bae7b0 rational: update with more operators 2015-07-13 16:30:54 +10:00
991558fc7f build: remove unused options code 2015-07-02 17:25:04 +10:00
174281ce20 n/rand: add general keyed random facility 2015-07-01 23:33:39 +10:00
6b712e2f57 n/midpoint: extract midpoint displacement funcs 2015-07-01 01:03:34 +10:00
1cd87f375e build: clean genearted uri implementation 2015-06-30 22:24:44 +10:00
c014dd5658 build: disable zlib wrappers 2015-06-30 22:24:44 +10:00
4b79ce2b24 options: disable build and tests 2015-06-30 22:24:44 +10:00
75af292340 cmdopt: transfer test cases from option tests 2015-06-30 22:24:44 +10:00
6e5bd1885d n/fractal: add runtime switchable fractal 2015-06-11 19:33:51 +10:00
5648ba63b3 n/basis: add runtime switchable basis function 2015-06-11 19:33:25 +10:00
250b8d21ec cmdopt: add simple reimplementation of libcmdopt 2015-06-10 21:30:43 +10:00
e8d3cf8eb1 maths: remove deprecated maths objects 2015-06-05 16:07:03 +10:00
62a2fb12f0 build: add forgotten headers 2015-06-04 22:24:21 +10:00
7e00b7d096 image: add area and is_packed methods 2015-06-04 14:38:12 +10:00
c82f3aad2e netpbm: extract ppm/pgm into distinct unit 2015-06-03 23:24:26 +10:00
ff23146a68 hash: extract fnv1a hashes to new unit 2015-06-02 21:36:30 +10:00
588b38fd17 hash: move wang mixing funcs into seperate unit 2015-06-02 21:11:57 +10:00
7dcba618c0 noise: add turbulence (displacement) combiner 2015-06-02 20:33:00 +10:00
6278902e3e n/fractal: use a common base class
some working variables need to be precomputed. it makes sense to do this
in a base class.
2015-06-02 16:13:12 +10:00
59909ed860 n/basis: move basis code into inline headers 2015-06-01 18:42:10 +10:00
f6e2e6a409 n/fractal: use inline headers for fractals 2015-06-01 17:30:18 +10:00
2d002c9dce n/fractal: extract each type into seperate units 2015-06-01 16:21:26 +10:00
79300cc8c4 build: style, increase post-indent 2015-06-01 16:21:26 +10:00
882fd9c87a n/basis: add constant basis for testing 2015-05-29 15:50:45 +10:00
3a4fed804a fasthash: add initial implementation 2015-05-28 12:17:25 +10:00
78f61af84c noise/basis: extract basis into seperate units 2015-05-28 10:56:06 +10:00
a61ea32228 murmurhash: add initial translation 2015-05-25 16:12:45 +10:00
47423da841 style: sort Makefile target dependencies 2015-05-18 14:56:15 +10:00
912228f87b noise: move lerp into noise namespace 2015-05-18 14:56:15 +10:00
5295f1a205 noise: add image noise test tool 2015-05-18 14:11:08 +10:00
054dfa918e crypto: add XXTEA {en,de}cryption. 2015-05-15 18:27:24 +10:00
ddaca2f453 XTEA: add extended TEA encryption 2015-05-07 00:18:01 +10:00
9d3c058873 TEA: add "Tiny Encryption Algorithm" 2015-05-06 23:49:45 +10:00
717644acde arc4: add initial implementation 2015-05-06 21:38:56 +10:00
199be3213a introspection: add simple static introspection types 2015-04-20 17:51:00 +10:00
fa8387252e tuple: add tuple iteration helpers 2015-04-20 17:48:11 +10:00
f9e8ea78bf variadic: add index helper type 2015-04-20 17:13:14 +10:00
e0636a5b5e sphere: add stub sphere class 2015-04-13 21:46:40 +10:00
bbbbb675a6 test: move tests to TAP output 2015-04-13 16:45:56 +10:00
e9c0ed3f5f tap: use an object for logging 2015-04-13 16:43:49 +10:00
ef4475949d colour: specialise the cast function 2015-04-09 20:46:24 +10:00
bd88832df3 coord: move cast/redim operations to coord 2015-04-09 17:58:47 +10:00
afad51db9d aabb: add expand call 2015-04-09 14:05:01 +10:00
a300f99b87 vector: add polar_to_cartesian 2015-04-02 15:01:17 +11:00
5674f2a2e9 json: add basic json-schema draft 4 support 2015-03-19 00:25:50 +11:00
5e20ee3a1d json/fwd: add forward declaration header 2015-03-19 00:25:50 +11:00
4e3d67185c rename line to ray 2015-03-11 22:31:35 +11:00
07f6f9ea2a aabb: initial stub 2015-03-07 03:16:57 +11:00
e461654de8 coord: split coord header into components 2015-03-06 01:46:01 +11:00
29a148e2e5 hash/hotp: add simple HOTP implementation 2015-03-02 02:55:54 +11:00
f4fe636cb0 hash/hmac: add simple HMAC-MD5 2015-03-02 00:07:50 +11:00
bf3a6f2be7 build: properly qualify EXTRA_DIST test files 2015-02-20 17:19:52 +11:00
f694df6617 build: add forgotten files to source list 2015-02-20 17:19:40 +11:00
ebfa147cd2 line: add trivial line type 2015-02-19 13:29:16 +11:00
ae6745a66a plane: add trivial plane type 2015-02-19 13:29:16 +11:00
630567bcff matrix: add type cast function 2015-02-19 13:29:16 +11:00
9d6be23dd5 range: templatise normalise methods return type 2015-02-17 16:19:22 +11:00
ecc40f2315 build: fold test makefile into primary makefile
Moving the subdir makefile into the main one lets us more easily track
dependencies for reliable builds. Previously we tended to build against
old versions of the static library when running the tests.
2015-02-13 18:02:09 +11:00
49e60e576f view: extract span class into standalone class 2015-02-11 16:18:43 +11:00
4245785005 uri: add simple uri parser 2015-02-09 17:43:24 +11:00
10cb9e2458 build: rename json.cpp.rl from reason move 2015-02-05 20:37:07 +11:00
60787655b3 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
819e45b441 build: add forgotten files to SOURCES
fixes distcheck
2015-01-30 16:47:28 +11:00
b704e66d3d maths: remove now redundant polynomial code 2015-01-29 15:41:40 +11:00
5e4c1080ec polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
2419e07547 bezier: initial eval for order 2-4 2015-01-21 23:42:45 +11:00
5469fdf06b polynomial: initial degree 1-3 solvers 2015-01-21 23:40:45 +11:00
6eb2badaef build: remove generic fwd helpers
It's purpose was to build pointer typedefs for pre-C++11 code, which is
something we never really supported anyway.
2015-01-19 19:08:46 +11:00
7ef4cbcc1a vector: add redim operation 2015-01-15 14:01:51 +11:00
ccbae2dcb1 extent: add typecasting member function 2015-01-13 18:30:10 +11:00