Split out mesh data into its own struct

This commit is contained in:
Graham Pentheny
2025-08-06 11:28:58 -04:00
parent e6fd678ad8
commit bfd963893e
7 changed files with 52 additions and 49 deletions

View File

@@ -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