FatalErr42O
435666b110
documentation fixes for intersect module
2025-01-03 21:53:15 -08:00
FatalErr42O
5826f7c23c
cleared documentation errors in color.lua, mat4.lua, intersect.lua
2024-12-23 14:17:44 -08:00
FatalErr42O
ef83f4ba59
finished documentation for intersects.lua
2024-12-23 12:16:35 -08:00
FatalErr42O
642739f44b
documentation updates, readme update
2024-12-21 18:48:58 -08:00
FatalErr42O
9273dfe583
removed individual documentation in favor of a master site
2024-12-20 23:02:08 -08:00
FatalErr42O
4f3bb3ea5e
now runs (with some require hax)
2023-08-29 16:01:42 -07:00
Landon Manning
654089031d
Added expiramental BVH implementation
...
* Added: BVH.lua
* Changed: ray_triangle intersect can now optionall check for backface intersections
2019-04-22 22:21:48 -03:00
Colby Klein
e8f32d68cf
fix issue #26
2018-12-26 01:55:17 -08:00
Colby Klein
65e3676af5
swap lerp arg order, fix tests
2017-03-29 07:42:40 -07:00
Colby Klein
c7622dd91b
add intersect.ray_capsule
2017-03-29 07:24:38 -07:00
karai17
a7f9247838
Unfactored the rest of cpml. Completely untested (all tests are broken)
2016-12-15 04:34:46 -04:00
Colby Klein
6ec87c3cc5
add capsule intersection
2016-12-13 15:10:46 -08:00
Colby Klein
d19a5addcb
Fix failing tests caused by mul->scale
2016-08-21 20:42:44 -07:00
karai17
02f963d932
Fixed typo, added comments
2016-08-03 17:43:46 -03:00
karai17
640d46de43
Added sphere_triangle collision. Probably.
2016-08-03 17:23:36 -03:00
karai17
e25f4acef9
Fixed broken tests
2016-07-26 22:31:08 -03:00
karai17
b0e9714a0e
added aabb_obb test
2016-07-26 01:21:49 -03:00
karai17
637bc5a413
Added many intersection tests
2016-07-26 00:44:15 -03:00
karai17
481825cba4
What ARE birds?
...
We just don't know.
2016-07-23 05:21:03 -03:00
karai17
d34cca315f
Removed ffi from mat4, it caused a lot of problems and didn't work.
2016-07-22 17:13:11 -03:00
karai17
78b34590c5
vec2 and vec3 100% test coverage
2016-07-21 13:52:35 -03:00
Davis
094832b90e
Added working link to referenced article
2016-07-20 21:44:53 -04:00
karai17
a57673dcaf
Added frustum and other intersect functions
2016-07-20 20:49:28 -03:00
Landon Manning
5da09ddd8b
removed ray_triangle2, it was too slow
...
also moved some vec3 definitions outside their respective function
bodies to speed thing sup and create less garbage
2015-12-29 04:58:53 -04:00
Landon Manning
2347bd9706
Looks like we don't need quat.div after all.
2015-12-28 12:40:52 -04:00
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