Tried a horrible recursive method, extreme framedrop.
This commit is contained in:
@@ -65,6 +65,7 @@ bool AABBvsTriangles(const AABB& box,
|
||||
const std::vector<RawModel::Vertex>& modelVertices,
|
||||
const std::vector<unsigned int>& modelIndices,
|
||||
const glm::mat4& modelMatrix,
|
||||
const glm::vec3& boxVelocity,
|
||||
glm::vec3& outResolutionVector);
|
||||
|
||||
//Return true if the boxes are intersecting.
|
||||
|
||||
Reference in New Issue
Block a user