Rename meshBMin and meshBMax to meshBoundsMin and meshBoundsMax

This commit is contained in:
Graham Pentheny
2025-08-05 21:47:44 -04:00
parent ca30c70982
commit 213d6529a9
2 changed files with 8 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ bool InputGeom::loadMesh(rcContext* ctx, const std::string& filepath)
parseObjModel(buffer, bufferLen, verts, tris, normals);
rcCalcBounds(verts.data(), getVertCount(), meshBMin, meshBMax);
rcCalcBounds(verts.data(), getVertCount(), meshBoundsMin, meshBoundsMax);
chunkyMesh = new ChunkyTriMesh;
if (!chunkyMesh)
@@ -493,7 +493,7 @@ bool InputGeom::raycastMesh(float* src, float* dst, float& tmin)
// Prune hit ray.
float btmin;
float btmax;
if (!isectSegAABB(src, dst, meshBMin, meshBMax, btmin, btmax))
if (!isectSegAABB(src, dst, meshBoundsMin, meshBoundsMax, btmin, btmax))
{
return false;
}