William Moberg
|
5160a45b44
|
Made Ray into a class with checks so the direction will always be normalized.
|
2015-12-17 13:41:34 +01:00 |
|
William Moberg
|
a23d69af9a
|
Removed old relics from OctTree testing in OctTree.
|
2015-12-16 17:08:55 +01:00 |
|
William Moberg
|
4195baa5dc
|
ContainedObject in OctTree made private.
|
2015-12-10 17:57:09 +01:00 |
|
William Moberg
|
0d8f7acb7e
|
OctTree doesn't check the same object multiple times if it exists in multiple places in the tree.
|
2015-12-10 16:04:55 +01:00 |
|
William Moberg
|
e580540143
|
Made some optimizations in OctTree and added a unit test for BoxesInSameRegion.
|
2015-12-09 17:16:11 +01:00 |
|
William Moberg
|
14bcb7ea0d
|
Added Update call in Game to test OctTree by using collision.
|
2015-12-09 13:52:17 +01:00 |
|
William Moberg
|
bad42fae1c
|
OctTree differentiates between static/dynamic objects now. Added a general BoxesInSameRegion method.
|
2015-12-09 13:27:00 +01:00 |
|
William Moberg
|
a7fb77d998
|
OctTree can check if a box collides with a box in the OctTree.
|
2015-12-08 17:12:58 +01:00 |
|
William Moberg
|
648ba502bb
|
Added small test for OctTree.
|
2015-12-07 17:27:57 +01:00 |
|
William Moberg
|
04a8eeebe8
|
Added test get methods and some comments.
|
2015-12-07 16:25:01 +01:00 |
|
William Moberg
|
8e21b1fe35
|
Added ray collision detection in leaf nodes. Fixed possible bug in OctTree::AddBox
|
2015-12-03 19:25:40 +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 |
|
William Moberg
|
fa0ace8c68
|
Added empty OctTree files.
|
2015-12-02 11:32:56 +01:00 |
|