Several changes/fixes based on the latest broken refactoring.

Fixed Simon's mistake in CapturePointLogic. William fixed so TriggerSystem works again with CapturePoints.
This commit is contained in:
verysecrethero
2016-02-02 11:37:22 +01:00
parent 7408da401b
commit 42b52a6766
9 changed files with 205 additions and 10 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ template<typename T>
template<typename Box>
void Octree<T>::ObjectsInSameRegion(const Box& box, std::vector<T>& outObjects)
{
//static_assert(std::is_base_of<AABB, Box>::value, "template argument type Box in Octree<T>::ObjectsInSameRegion must be a subclass of AABB.");
static_assert(std::is_base_of<AABB, Box>::value, "template argument type Box in Octree<T>::ObjectsInSameRegion must be a subclass of AABB.");
falsifyObjectChecks();
m_Root->ObjectsInSameRegion(box, outObjects);
}