Commit Graph

1529 Commits

Author SHA1 Message Date
70c65c2bb2 introspection: map tuples to themselves in type_tuple 2015-05-01 02:49:19 +10:00
358f2ddb60 tuple: test tuple mapping with template src types
Added complexity in the test to help diagnose issues with the
introspection code.
2015-05-01 02:43:27 +10:00
7bc96bd60f maths: explicitly instantiate PI for float, double 2015-05-01 02:42:32 +10:00
bb1e87bb47 options: don't import util and std namespaces 2015-04-30 21:03:18 +10:00
928a499122 debug: silence unused variable warnings in release 2015-04-30 17:31:19 +10:00
7df74064dc traits: remove deprecated auto_ptr specialisation 2015-04-29 17:47:37 +10:00
c052d7df4b maths: use templated PI and E constants 2015-04-29 17:45:39 +10:00
d804f0e4b6 build: enable c++1z 2015-04-29 17:43:37 +10:00
5744b82825 build: add GCC 5 ODR checking 2015-04-29 17:42:52 +10:00
646a3e3902 build: add more sanitizers 2015-04-29 17:41:54 +10:00
6223e1e16c options: style 2015-04-29 17:18:31 +10:00
f05e478292 options: remove redundant config include 2015-04-29 17:13:31 +10:00
c68940bbbc options: don't include std/util in impl namespace 2015-04-29 17:13:25 +10:00
97de4a2bd6 options: remove memory leak 2015-04-29 17:10:33 +10:00
33401becbd tuple: add type mapping template 2015-04-21 14:21:01 +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
29af32106b types: add type_tag helper struct 2015-04-20 17:48:11 +10:00
f9e8ea78bf variadic: add index helper type 2015-04-20 17:13:14 +10:00
1be5be38ea ray: add convenience point-point constructor 2015-04-15 18:59:28 +10:00
b1263e8f14 sphere: add ostream operator 2015-04-15 18:00:58 +10:00
bb15548fb6 ray: add ostream operator 2015-04-15 18:00:45 +10:00
d0bf00a9ac ray: style 2015-04-15 18:00:37 +10:00
a946b182f9 aabb: add diameter method 2015-04-15 17:16:34 +10:00
ed38fd0491 sphere: check radius is positive at construction 2015-04-15 14:30:37 +10:00
3decd9e0ab sphere: give data members proper names 2015-04-15 14:29:20 +10:00
fb97584ad6 ray: give data members proper names 2015-04-15 14:25:35 +10:00
13abad0d43 vector: use mag2 for normalised check 2015-04-15 14:25:16 +10:00
e939cca6fd ray: return NaN for negative aabb intersection 2015-04-15 14:20:59 +10:00
012f8107c6 point: operate on value types, not references 2015-04-15 14:14:01 +10:00
71d8a30769 vector: operate on value types, not references 2015-04-15 14:06:49 +10:00
ffaf10de21 extent: silence unused variable warning in test 2015-04-15 14:06:30 +10:00
6f1278767f vector: add is_normalised 2015-04-15 13:52:37 +10:00
f87481c5e0 vector: add constant unit vector 2015-04-15 13:52:22 +10:00
13ea2bbdf5 vector: style 2015-04-15 13:48:07 +10:00
46bd7f739f tap: explicitly type the test as std::function
clang doesn't like to implicitly cast lambdas to functions.
2015-04-15 13:39:59 +10:00
8863ebafe9 ray: add ray-sphere intersection test 2015-04-13 21:47:51 +10:00
7e2baf6751 ray: convert test to TAP format 2015-04-13 21:47:37 +10:00
54f5f2d170 tap: add expect_nan function 2015-04-13 21:46:56 +10:00
e0636a5b5e sphere: add stub sphere class 2015-04-13 21:46:40 +10:00
7f5533ff35 tap: consolidate expect_* functions 2015-04-13 21:45:49 +10:00
5ee3d14811 add a stub README 2015-04-13 18:10:27 +10:00
7ae57730f0 whitespace 2015-04-13 18:06:08 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
bbbbb675a6 test: move tests to TAP output 2015-04-13 16:45:56 +10:00
241ad65df9 aabb: add equality operator 2015-04-13 16:44:30 +10:00
e9c0ed3f5f tap: use an object for logging 2015-04-13 16:43:49 +10:00
a7f96a127d colour: add hsv/rgb conversions 2015-04-09 21:50:42 +10:00
e7fba43935 colour: add hsv field names 2015-04-09 21:50:22 +10:00
7307d73bbc colour: add html and x11 string lookup 2015-04-09 20:46:55 +10:00