This commit is contained in:
Erin Catto 2026-11-09 20:23:26 -08:00
commit 1fa462d71e
2 changed files with 1 additions and 11 deletions

View file

@ -10,6 +10,7 @@
#include "box3d/constants.h"
#include <imgui.h>
#include <stdio.h>
#include <vector>
#include <ImGuizmo.h>

View file

@ -1198,17 +1198,6 @@ static int b3CollideMeshTriangles( b3Cluster** clustersOut, const b3Shape* shape
int triangleIndex = triangleCaches[index].triangleIndex;
const b3Vec3* vertices = survivorVertices + 3 * survivorIndex;
b3Triangle triangle;
if ( shapeA->type == b3_meshShape )
{
triangle = b3GetMeshTriangle( &shapeA->mesh, triangleIndex );
}
else
{
B3_ASSERT( shapeA->type == b3_heightShape );
triangle = b3GetHeightFieldTriangle( shapeA->heightField, triangleIndex );
}
b3ContactCache* cache = &triangleCaches[index].cache;
int pointCapacity = pointBufferCapacity - totalPointCount;
b3LocalManifold* manifold = manifoldBuffer + manifoldCount;