(scale)
| 1316 | return Matrix4.from(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, translation.x, translation.y, translation.z, 1); |
| 1317 | } |
| 1318 | static fromScale(scale) { |
| 1319 | return this.fromNonuniformScale(scale, scale); |
| 1320 | } |
| 1321 | static fromNonuniformScale(x, y) { |
| 1322 | return Matrix4.from(x, 0, 0, 0, 0, y, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); |
| 1323 | } |
nothing calls this directly
no test coverage detected