(x, y)
| 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 | } |
| 1324 | static lookToRh(eye, dir, up) { |
| 1325 | const f = dir.normal(); |
| 1326 | const s = f.cross(up).normal(); |