Landon Manning
e9b00c2b71
Reduced garbage
2015-12-28 12:15:19 -04:00
Landon Manning
55685bedcc
Added second ray_triangle function for performance testing
...
We should exercise both to see which performs better.
2015-12-28 12:02:22 -04:00
Landon Manning
7143dcadae
Wrote cpml instead of vec3 in some places
2015-12-20 20:54:57 -04:00
Landon Manning
8b136798d2
Updated intersect to use new vec3
...
Improved code consistency as well.
2015-12-20 05:24:28 -04:00
Landon Manning
0481a97195
Added ray casting to octree
...
* fixed octree API to match the rest of CPML
* standardized intersect inputs a bit more
2015-11-19 14:14:55 -04:00
Landon Manning
ab1d551b25
Added new octree implementation
...
reverted encapsulate_aabb intersect to be non-explicit
2015-09-25 02:54:38 -03:00
Landon Manning
2370daf5f3
Encapsulate should be explicit
...
inner needs to actually be inside outer, they cannot be the same size or
on the same plane(s).
2015-09-24 01:30:32 -03:00
Landon Manning
50edbb1b82
Added some intersects
...
* Added aabb_aabb
* Added encapsulate_aabb
* Changed point_aabb to take a min and max instead of position and
volume
* Removed boolean returns from line_line and segment_segment
2015-09-24 01:05:20 -03:00
Colby Klein
78989682cf
Add LDoc documentation. Utils done.
2015-09-11 07:59:05 -07:00
Colby Klein
9bc4d164dc
Fix ray_aabb typos.
2015-08-10 17:59:32 -07:00
Landon Manning
6315124c6e
Added intersections
...
* intersect.segment_segment(p1, p2, p3, p4)
* intersect.point_AABB(point, box)
2015-07-10 22:36:17 -03:00
Colby Klein
bc469dfee9
Add ray-plane and ray-box intersections
2015-05-05 02:04:51 -07:00
Landon Manning
a44fe12454
Added circle-circle intersection
2014-12-01 02:34:08 -04:00
Landon Manning
bf316517df
Minor refactoring
...
* Renamed subfolder to modules
* Quaternions no longer rely on hump.class
* Added Mesh functions
2014-10-27 20:43:45 -03:00