5 #include <PR/ultratypes.h>
7 #define GU_PI 3.1415926
10 void guPerspectiveF(float mf
[4][4], u16
*perspNorm
, float fovy
, float aspect
,
11 float near
, float far
, float scale
);
12 void guPerspective(Mtx
*m
, u16
*perspNorm
, float fovy
, float aspect
, float near
,
13 float far
, float scale
);
14 void guOrtho(Mtx
*m
, float left
, float right
, float bottom
, float top
,
15 float near
, float far
, float scale
);
16 void guTranslate(Mtx
*m
, float x
, float y
, float z
);
17 void guRotate(Mtx
*m
, float a
, float x
, float y
, float z
);
18 void guScale(Mtx
*m
, float x
, float y
, float z
);
19 void guMtxF2L(float mf
[4][4], Mtx
*m
);
20 void guMtxIdent(Mtx
*m
);
21 void guMtxIdentF(float mf
[4][4]);
22 void guMtxL2F(float mf
[4][4], Mtx
*m
);
23 void guNormalize(float *, float *, float *);
25 /* Used only in Fast3DEX2 */
26 void guLookAtReflect (Mtx
*m
, LookAt
*l
, float xEye
, float yEye
, float zEye
,
27 float xAt
, float yAt
, float zAt
,
28 float xUp
, float yUp
, float zUp
);