| 509 | } |
| 510 | |
| 511 | void xMat3x3LMulVec(xVec3* o, const xMat3x3* m, const xVec3* v) |
| 512 | { |
| 513 | F32 y = (m->up.x * v->x) + (m->up.y * v->y) + (m->up.z * v->z); |
| 514 | F32 z = (m->at.x * v->x) + (m->at.y * v->y) + (m->at.z * v->z); |
| 515 | |
| 516 | o->x = (m->right.x * v->x) + (m->right.y * v->y) + (m->right.z * v->z); |
| 517 | o->y = y; |
| 518 | o->z = z; |
| 519 | } |
| 520 | |
| 521 | void xMat3x3Tolocal(xVec3* o, const xMat3x3* m, const xVec3* v) |
| 522 | { |
no outgoing calls
no test coverage detected