Mat2D.fromScaling constructor
Mat2D.fromScaling(
- Vec2D scaling
Implementation
Mat2D.fromScaling(Vec2D scaling)
: _buffer = Float32List.fromList([scaling.x, 0, 0, scaling.y, 0, 0]);
Mat2D.fromScaling(Vec2D scaling)
: _buffer = Float32List.fromList([scaling.x, 0, 0, scaling.y, 0, 0]);