| 514 | } |
| 515 | |
| 516 | void vm_AnglesToMatrix(matrix *m, angle p, angle h, angle b) { |
| 517 | float sinp, cosp, sinb, cosb, sinh, cosh; |
| 518 | |
| 519 | sinp = FixSin(p); |
| 520 | cosp = FixCos(p); |
| 521 | sinb = FixSin(b); |
| 522 | cosb = FixCos(b); |
| 523 | sinh = FixSin(h); |
| 524 | cosh = FixCos(h); |
| 525 | |
| 526 | vm_SinCosToMatrix(m, sinp, cosp, sinb, cosb, sinh, cosh); |
| 527 | } |
| 528 | |
| 529 | // Computes a matrix from a vector and and angle of rotation around that vector |
| 530 | // Parameters: m - filled in with the computed matrix |
no test coverage detected