Remove MeshLoaderObj class. Replace with parseObjModel function

This commit is contained in:
Graham Pentheny
2025-07-07 00:54:57 -04:00
parent c1674f805d
commit d1e513aeaf
9 changed files with 75 additions and 81 deletions

View File

@@ -124,11 +124,11 @@ void Sample::handleRender()
// Draw mesh
duDebugDrawTriMesh(
&debugDraw,
inputGeometry->getMesh()->getVerts(),
inputGeometry->getMesh()->getVertCount(),
inputGeometry->getMesh()->getTris(),
inputGeometry->getMesh()->getNormals(),
inputGeometry->getMesh()->getTriCount(),
inputGeometry->verts.data(),
inputGeometry->getVertCount(),
inputGeometry->tris.data(),
inputGeometry->normals.data(),
inputGeometry->getTriCount(),
0,
1.0f);
// Draw bounds