Jace
|
d6ef527f25
|
Basic collisions using Octree. Seems buggy over octree boundaries.
|
2016-01-13 15:34:43 +01:00 |
|
William Moberg
|
0f59b863ee
|
Renamed IF_DEBUG_IS to DEBUG_IF, slightly different behavior and added some safety checking for auto creating AABBs from models.
|
2015-12-17 17:08:47 +01:00 |
|
William Moberg
|
03d5f0dd67
|
Added an macro IF_DEBUG_IS(x) that executes if run in debug mode, AABB has a check so max and min corners are set properly in debug mode.
|
2015-12-17 13:31:54 +01:00 |
|
William Moberg
|
99b76d7ae1
|
Fixed returning address to temporary in functions. AABB also constructible from glm::vec4s.
|
2015-12-16 12:19:43 +01:00 |
|
William Moberg
|
32d2aa6a93
|
AABB can also be created with center position and its size.
|
2015-12-08 17:01:50 +01:00 |
|
William Moberg
|
2f13f5da7a
|
Relocated AABB and Ray in Collision.h to their own files. Started implementation on OctTree.
|
2015-12-03 17:03:27 +01:00 |
|