Skip to content
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

Add Context::layer_transform_to_global & layer_transform_from_global #5465

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Dec 12, 2024

This makes it easy to get the current transform of a layer, and uses consistent naming everywhere.

Memory::layer_transforms is now called Memory::to_global, because the old name was ambiguous (transform into what direction?)

@emilk emilk added the egui label Dec 12, 2024
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5465-emilkbettwe-layer-transform-naming
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit de8ac88 into master Dec 12, 2024
46 checks passed
@emilk emilk deleted the emilk/bettwe-layer-transform-naming branch December 12, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant