mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-16 08:09:53 +00:00
Use vectors and methods in ChunkyTriMesh to simplify things
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user