Nitpicks.
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
#define Octree_h__
|
#define Octree_h__
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <bitset>
|
|
||||||
|
|
||||||
#include "../Common.h"
|
#include "../Common.h"
|
||||||
#include "AABB.h"
|
#include "AABB.h"
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ Game::Game(int argc, char* argv[])
|
|||||||
|
|
||||||
|
|
||||||
// Create Octrees
|
// Create Octrees
|
||||||
|
// TODO: Perhaps the world bounds should be set in some non-arbitrary way instead of this.
|
||||||
AABB boxContainingTheWorld(glm::vec3(-300), glm::vec3(300));
|
AABB boxContainingTheWorld(glm::vec3(-300), glm::vec3(300));
|
||||||
m_OctreeCollision = new Octree<EntityAABB>(boxContainingTheWorld, 4);
|
m_OctreeCollision = new Octree<EntityAABB>(boxContainingTheWorld, 4);
|
||||||
m_OctreeTrigger = new Octree<EntityAABB>(boxContainingTheWorld, 4);
|
m_OctreeTrigger = new Octree<EntityAABB>(boxContainingTheWorld, 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user