Use vectors and methods in ChunkyTriMesh to simplify things

This commit is contained in:
Graham Pentheny
2025-05-05 15:34:18 -04:00
parent b9107220b2
commit 20e3afbb03
5 changed files with 136 additions and 155 deletions

View File

@@ -443,7 +443,7 @@ bool InputGeom::raycastMesh(float* src, float* dst, float& tmin)
};
int cid[512];
const int ncid = rcGetChunksOverlappingSegment(m_chunkyMesh, p, q, cid, 512);
const int ncid = m_chunkyMesh->GetChunksOverlappingSegment(p, q, cid, 512);
if (!ncid) { return false; }
tmin = 1.0f;