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

Multi-dimensional scale #304

Open
kvark opened this issue Sep 12, 2018 · 1 comment
Open

Multi-dimensional scale #304

kvark opened this issue Sep 12, 2018 · 1 comment

Comments

@kvark
Copy link
Member

kvark commented Sep 12, 2018

We have vectors and we have ScaleFactor, which is 1D. What we are missing is an ability to scale vectors by a non-uniform scale with potential change of space. This would be helpful for code in servo/webrender#3046

@nical
Copy link
Contributor

nical commented Sep 12, 2018

Scale2D<T, SrcUnit, DstUni> and Scale3D<T, SrcUnit, DstUnit> would make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants