From 1fa462d71e72b9a63aeae986b81e363d23aedc14 Mon Sep 17 00:00:00 2001 From: Erin Catto Date: Mon, 9 Nov 2026 20:23:26 -0800 Subject: [PATCH] CI fix --- samples/sample_manifold.cpp | 1 + src/mesh_contact.c | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/samples/sample_manifold.cpp b/samples/sample_manifold.cpp index 6206166..36d11c5 100644 --- a/samples/sample_manifold.cpp +++ b/samples/sample_manifold.cpp @@ -10,6 +10,7 @@ #include "box3d/constants.h" #include +#include #include #include diff --git a/src/mesh_contact.c b/src/mesh_contact.c index 8010941..b7e3455 100644 --- a/src/mesh_contact.c +++ b/src/mesh_contact.c @@ -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;