Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
gu.h
Go to the documentation of this file.
1 #ifndef _ULTRA64_GU_H_
2 #define _ULTRA64_GU_H_
3 
4 #define GU_PI 3.1415926
5 /* Functions */
6 
7 void guPerspectiveF(float mf[4][4], u16 *perspNorm, float fovy, float aspect,
8  float near, float far, float scale);
9 void guPerspective(Mtx *m, u16 *perspNorm, float fovy, float aspect, float near,
10  float far, float scale);
11 void guOrtho(Mtx *m, float left, float right, float bottom, float top,
12  float near, float far, float scale);
13 void guTranslate(Mtx *m, float x, float y, float z);
14 void guRotate(Mtx *m, float a, float x, float y, float z);
15 void guScale(Mtx *m, float x, float y, float z);
16 void guMtxF2L(float mf[4][4], Mtx *m);
17 void guMtxIdent(Mtx *m);
18 void guMtxIdentF(float mf[4][4]);
19 void guMtxL2F(float mf[4][4], Mtx *m);
20 void guNormalize(float *, float *, float *);
21 
22 /* Used only in Fast3DEX2 */
23 void guLookAtReflect (Mtx *m, LookAt *l, float xEye, float yEye, float zEye,
24  float xAt, float yAt, float zAt,
25  float xUp, float yUp, float zUp);
26 #endif
void guMtxIdent(Mtx *m)
Definition: guMtxF2L.c:50
unsigned short int u16
Definition: ultratypes.h:14
void guNormalize(float *, float *, float *)
Definition: guNormalize.c:3
Definition: gbi_old.h:1484
void guRotate(Mtx *m, float a, float x, float y, float z)
Definition: guRotateF.c:38
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
def m
Definition: first-diff.py:153
void guMtxF2L(float mf[4][4], Mtx *m)
Definition: guMtxF2L.c:3
Definition: gbi_old.h:46
void guOrtho(Mtx *m, float left, float right, float bottom, float top, float near, float far, float scale)
Definition: guOrthoF.c:21
void guPerspective(Mtx *m, u16 *perspNorm, float fovy, float aspect, float near, float far, float scale)
Definition: guPerspectiveF.c:32
void guLookAtReflect(Mtx *m, LookAt *l, float xEye, float yEye, float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp)
Definition: guLookAtRef.c:107
void guPerspectiveF(float mf[4][4], u16 *perspNorm, float fovy, float aspect, float near, float far, float scale)
Definition: guPerspectiveF.c:3
void guMtxIdentF(float mf[4][4])
Definition: guMtxF2L.c:39
void guTranslate(Mtx *m, float x, float y, float z)
Definition: guTranslateF.c:9
void guScale(Mtx *m, float x, float y, float z)
Definition: guScaleF.c:10
void guMtxL2F(float mf[4][4], Mtx *m)
Definition: guMtxF2L.c:18