Tiny bug fix.

This commit is contained in:
William Moberg
2016-02-05 14:40:50 +01:00
parent 4fe9e4f1c3
commit 428dca003d
-1
View File
@@ -521,7 +521,6 @@ bool AABBvsTriangle(const AABB& box,
if (!isOnGround) { if (!isOnGround) {
boxVelocity = boxVelocity - glm::dot(boxVelocity, projNorm) * projNorm; boxVelocity = boxVelocity - glm::dot(boxVelocity, projNorm) * projNorm;
} }
isOnGround = false;
} }
return true; return true;
} }