mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-15 15:50:03 +00:00
Remove MeshLoaderObj class. Replace with parseObjModel function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user