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

Added a Frame::scale_nonuniform method #2070

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Added a Frame::scale_nonuniform method #2070

merged 3 commits into from
Sep 7, 2023

Conversation

ripytide
Copy link
Contributor

@ripytide ripytide commented Sep 4, 2023

I see no reason why not to make Frame::scale take a Vector rather than a single f32 to allow non-same xy scaling.

I have tried to update all references I could find in the code-base but may need to rely on the CI to see if I missed any.

@hecrj hecrj added this to the 0.12.0 milestone Sep 5, 2023
renderer/src/geometry.rs Outdated Show resolved Hide resolved
@ripytide ripytide changed the title update Frame::scale to take a Vector rather than an f32 Added a Frame::scale_nonuniform method Sep 5, 2023
@hecrj hecrj added feature New feature or request addition labels Sep 6, 2023
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made those changes myself! Thanks!

@hecrj hecrj enabled auto-merge September 7, 2023 03:53
@hecrj hecrj merged commit b5e7fb2 into iced-rs:master Sep 7, 2023
11 checks passed
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.

2 participants