-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify animated_material example #11576
simplify animated_material example #11576
Conversation
I'd like to unbreak CI, but we should make a stress-test version of this to deliberately expose the performance issues that motivated its creation. |
this was not a stress test. examples should focus on one thing only |
I agree. I'm fine to merge this as is. I'll make an issue to stress-testify this. |
let cube = meshes.add(shape::Cube { size: 0.5 }); | ||
for x in -1..2 { | ||
for z in -1..2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the materials aren't unique there's no point in spawning more than one helmet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realized this isnt helmets anymore
I'll make a PR to add this back as a stress test |
let cube = meshes.add(shape::Cube { size: 0.5 }); | ||
for x in -1..2 { | ||
for z in -1..2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realized this isnt helmets anymore
# Objective - example `animated_material` is more complex that needed to show how to animate materials - it makes CI crash because it uses too much memory ## Solution - Simplify the example
Objective
animated_material
is more complex that needed to show how to animate materialsSolution