(scale)
| 1053 | return Matrix3.from(1, 0, 0, 0, 1, 0, translation.x, translation.y, 1); |
| 1054 | } |
| 1055 | static fromScale(scale) { |
| 1056 | return this.fromNonuniformScale(scale, scale); |
| 1057 | } |
| 1058 | static fromNonuniformScale(x, y) { |
| 1059 | return Matrix3.from(x, 0, 0, 0, y, 0, 0, 0, 1); |
| 1060 | } |
nothing calls this directly
no test coverage detected