| 340 | } |
| 341 | |
| 342 | void xMat3x3RotY(xMat3x3* m, F32 t) |
| 343 | { |
| 344 | F32 cos = icos(t); |
| 345 | F32 sin = isin(t); |
| 346 | |
| 347 | xVec3Init((xVec3*)m, cos, 0.0f, -sin); |
| 348 | xVec3Copy(&m->up, &g_Y3); |
| 349 | xVec3Init(&m->at, sin, 0.0f, cos); |
| 350 | m->flags = 0; |
| 351 | } |
| 352 | |
| 353 | void xMat3x3RotZ(xMat3x3* m, F32 t) |
| 354 | { |
no test coverage detected