(a: Vec3)
| 136 | } |
| 137 | |
| 138 | static fromTranslation(a: Vec3) { |
| 139 | let res = new Mat4f(); |
| 140 | res[12] = a.x; |
| 141 | res[13] = a.y; |
| 142 | res[14] = a.z; |
| 143 | return res; |
| 144 | } |
| 145 | |
| 146 | static fromScaleTranslation(s: Vec3, t: Vec3) { |
| 147 | let res = new Mat4f(); |
no outgoing calls
no test coverage detected