Commit Graph

15 Commits

Author SHA1 Message Date
05b1c2dd80 geom/ray: add matrix multiply operator 2018-04-16 16:00:32 +10:00
00515078f9 ray: move convenience typedefs directly after type decl 2018-04-16 16:00:32 +10:00
44b3d8d628 ray: add deduction guides 2018-04-16 16:00:32 +10:00
bef0aa4929 sphere: move ray tests into sphere's unit 2018-04-16 16:00:32 +10:00
14e2fc5bd5 geom/ray: use infinity, not nan, to signal no intersection 2018-03-27 16:06:34 +11:00
0646b1c13b geom: move distance/intersection tests outside classes 2018-03-13 23:27:37 +11:00
cd1bb730f2 geom/aabb: rename AABB to aabb 2017-08-24 16:43:54 +10:00
e134d911e6 geom/ray: reinsert is_normalised check for direction param 2017-08-24 12:27:18 +10:00
1d988608c1 geom/ray: add an (explicitly) default constructor 2017-08-22 17:23:36 +10:00
2576061b26 ray: extract make member function as free function
for consistency with other make_foo functions. to be replaced with
deduction guides in the future.
2017-08-22 15:46:49 +10:00
353cf839d4 use nested namespace declarations 2017-01-05 15:06:49 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
116ad04a1f build: use ostream/istream over iostream 2016-08-04 17:42:41 +10:00
ac06282f03 geom: add more primitives 2015-10-14 15:32:53 +11:00
20bafa2cfb geom: move geometry primitives to own namespace 2015-10-13 18:19:47 +11:00