Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 committed Mar 21, 2024
1 parent 0d51ec3 commit 84a826f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ fn setup(
) {
commands.spawn((
PbrBundle {
mesh: meshes.add(
TryInto::<Mesh>::try_into(shape::Icosphere {
radius,
..default()
})),
mesh: meshes.add(Sphere { radius }),
// ...
},
Health {
Expand Down

0 comments on commit 84a826f

Please sign in to comment.