mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-08 09:55:43 +00:00
Split out mesh data into its own struct
This commit is contained in:
@@ -130,11 +130,11 @@ void Sample::render()
|
||||
// Draw mesh
|
||||
duDebugDrawTriMesh(
|
||||
&debugDraw,
|
||||
inputGeometry->verts.data(),
|
||||
inputGeometry->getVertCount(),
|
||||
inputGeometry->tris.data(),
|
||||
inputGeometry->normals.data(),
|
||||
inputGeometry->getTriCount(),
|
||||
inputGeometry->mesh.verts.data(),
|
||||
inputGeometry->mesh.getVertCount(),
|
||||
inputGeometry->mesh.tris.data(),
|
||||
inputGeometry->mesh.normals.data(),
|
||||
inputGeometry->mesh.getTriCount(),
|
||||
0,
|
||||
1.0f);
|
||||
// Draw bounds
|
||||
|
||||
Reference in New Issue
Block a user