fix mesh to use 3d mesh in 3d testbed (#790)

This commit is contained in:
Thierry Berger
2025-01-20 15:30:21 +01:00
committed by GitHub
parent 65f87d597b
commit c4c549f21f

View File

@@ -135,7 +135,7 @@ impl EntityWithGraphics {
); );
#[cfg(feature = "dim3")] #[cfg(feature = "dim3")]
let bundle = ( let bundle = (
Mesh2d(mesh), Mesh3d(mesh),
MeshMaterial3d(material_handle.clone_weak()), MeshMaterial3d(material_handle.clone_weak()),
transform, transform,
); );