chore: clippy fixes

This commit is contained in:
Sébastien Crozet
2024-03-24 17:41:59 +01:00
committed by Sébastien Crozet
parent 2df7258570
commit e69e73e589

View File

@@ -247,7 +247,7 @@ impl EntityWithGraphics {
// //
// Ball mesh // Ball mesh
// //
let ball = Mesh::try_from(bevy::math::primitives::Sphere::new(1.0)).unwrap(); let ball = Mesh::from(bevy::math::primitives::Sphere::new(1.0));
out.insert(ShapeType::Ball, meshes.add(ball)); out.insert(ShapeType::Ball, meshes.add(ball));
// //