Open kvark opened 6 years ago
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
ScaleFactor
Scale2D<T, SrcUnit, DstUni> and Scale3D<T, SrcUnit, DstUnit> would make sense.
Scale2D<T, SrcUnit, DstUni>
Scale3D<T, SrcUnit, DstUnit>
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