-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Now that we have Changed<T>, optimize all the things #63
Comments
I was looking into doing this for the transforms systems. For Query<Without<LocalTransform, Without<NonUniformScale, (&mut Transform, &Translation, &Rotation, &Scale)>>> ideally we could do something like Query<Without<LocalTransform, Without<NonUniformScale, (&mut Transform, &Translation, &Rotation, &Scale, Any<Changed<Translation>, Changed<Rotation>, Changed<Scale>>)>>> the idea being we want to run this system on anything that has I asked in Discord and it seems like this is not currently possible (tldr queries are |
@cart it may be worth changing your list into checkboxes so we can track status |
What's left for this task? |
Camera seems undone (from my cursory grepping through the codebase) but it's honestly kind of hard to figure out what has been done. |
Just updated the description with checkboxes indicating whats been done. |
I'm currently working on a rework of parenting/children. And #1046 is covering the ShaderDefs case. |
This should be looked at again once #68 is solved and we add explicit dependencies to our default systems for 0.5. |
Bump, #68 has been cleared and I wanna help 😝 What's left to do? |
I would start by tackling the parent-child section of the code in your first PR. RenderNodes, Sprites, and ShaderDefs are all being reworked; you'll have to work off of the UI update system has... larger issues, so it probably isn't worth the time right now. |
Please see https://discord.com/channels/691052431525675048/692572690833473578/880354698647986197 I could be wrong but it looks like it's already done in #417. I may also not be looking at the right code. |
Yep, looks correct; seems like the list was just out-dated. |
Yeah I think we should probably close this issue out. Its from The Old Days™ and I don't think anything in the list is particularly relevant anymore. |
update to naga 0.14
We should be using
Changed<T>
everywhere we can to avoid doing redundant work:The text was updated successfully, but these errors were encountered: