euclid icon indicating copy to clipboard operation
euclid copied to clipboard

Multi-dimensional scale

Open kvark opened this issue 7 years ago • 1 comments

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 https://github.com/servo/webrender/pull/3046

kvark avatar Sep 12 '18 14:09 kvark

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

nical avatar Sep 12 '18 15:09 nical