WIP on ModelBoxCollision. Octree works in Release mode.

This commit is contained in:
William Moberg
2016-01-23 10:45:50 +01:00
parent 1670fb4e48
commit 3974c649ab
6 changed files with 64 additions and 55 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ struct Child
std::vector<ContainedObject>& m_StaticObjectsRef;
std::vector<ContainedObject>& m_DynamicObjectsRef;
inline bool hasChildren() const;
inline bool hasChildren() const { return m_Children[0] != nullptr; }
int childIndexContainingPoint(const glm::vec3& point) const;
std::vector<int> childIndicesContainingBox(const AABB& box) const;
};