chore: clippy fixes
This commit is contained in:
committed by
Sébastien Crozet
parent
2df7258570
commit
e69e73e589
@@ -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));
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user