Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | pmbaty | 1 | #ifndef _MATRIX4_H_ |
2 | #define _MATRIX4_H_ |
||
3 | |||
4 | #include "brender/br_types.h" |
||
5 | |||
6 | void BrMatrix4Copy(br_matrix4* A, br_matrix4* B); |
||
7 | |||
8 | void BrMatrix4Mul(br_matrix4* A, br_matrix4* B, br_matrix4* C); |
||
9 | |||
10 | void BrMatrix4Identity(br_matrix4* mat); |
||
11 | |||
12 | void BrMatrix4Scale(br_matrix4* mat, br_scalar sx, br_scalar sy, br_scalar sz); |
||
13 | |||
14 | br_scalar BrMatrix4Inverse(br_matrix4* A, br_matrix4* B); |
||
15 | |||
16 | br_scalar Determinant3(br_scalar a1, br_scalar a2, br_scalar a3, br_scalar b1, br_scalar b2, br_scalar b3, br_scalar c1, br_scalar c2, br_scalar c3); |
||
17 | |||
18 | br_scalar BrMatrix4Determinant(br_matrix4* mat); |
||
19 | |||
20 | void BrMatrix4Adjoint(br_matrix4* A, br_matrix4* B); |
||
21 | |||
22 | void BrMatrix4Perspective(br_matrix4* mat, br_angle field_of_view, br_scalar aspect, br_scalar hither, br_scalar yon); |
||
23 | |||
24 | void BrMatrix4Apply(br_vector4* A, br_vector4* B, br_matrix4* C); |
||
25 | |||
26 | void BrMatrix4ApplyP(br_vector4* A, br_vector3* B, br_matrix4* C); |
||
27 | |||
28 | void BrMatrix4ApplyV(br_vector4* A, br_vector3* B, br_matrix4* C); |
||
29 | |||
30 | void BrMatrix4TApply(br_vector4* A, br_vector4* B, br_matrix4* C); |
||
31 | |||
32 | void BrMatrix4TApplyP(br_vector4* A, br_vector3* B, br_matrix4* C); |
||
33 | |||
34 | void BrMatrix4TApplyV(br_vector4* A, br_vector3* B, br_matrix4* C); |
||
35 | |||
36 | void BrMatrix4Copy34(br_matrix4* A, br_matrix34* B); |
||
37 | |||
38 | void BrMatrix4Mul34(br_matrix4* A, br_matrix34* B, br_matrix4* C); |
||
39 | |||
40 | void BrMatrix4Pre34(br_matrix4* A, br_matrix34* B); |
||
41 | |||
42 | void BrMatrix4ShearZ(br_matrix4* mat, br_scalar sx, br_scalar sy); |
||
43 | |||
44 | #endif |