Mario Kart 64
Loading...
Searching...
No Matches
gu.h File Reference
#include <PR/mbi.h>
#include <PR/ultratypes.h>
#include <common_structs.h>
Include dependency graph for gu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GU_PI   3.1415926
 

Functions

void guPerspectiveF (float mf[4][4], u16 *perspNorm, float fovy, float aspect, float near, float far, float scale)
 
void guPerspective (Mtx *m, u16 *perspNorm, float fovy, float aspect, float near, float far, float scale)
 
void guFrustum (Mtx *m, float left, float right, float bottom, float top, float near, float far, float scale)
 
void guOrtho (Mtx *m, float left, float right, float bottom, float top, float near, float far, float scale)
 
void guTranslate (Mtx *m, float x, float y, float z)
 
void guRotate (Mtx *m, float a, float x, float y, float z)
 
void guScale (Mtx *m, float x, float y, float z)
 
void guMtxF2L (float mf[4][4], Mtx *m)
 
void guMtxIdent (Mtx *m)
 
void guMtxIdentF (float mf[4][4])
 
void guMtxL2F (float mf[4][4], Mtx *m)
 
void guNormalize (float *, float *, float *)
 
void guLookAt (Mtx *, f32, f32, f32, f32, f32, f32, f32, f32, f32)
 
void guLookAtF (f32[4][4], f32, f32, f32, f32, f32, f32, f32, f32, f32)
 
void guLookAtReflect (Mtx *m, LookAt *l, float xEye, float yEye, float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp)
 

Macro Definition Documentation

◆ GU_PI

#define GU_PI   3.1415926

Function Documentation

◆ guFrustum()

void guFrustum ( Mtx * m,
float left,
float right,
float bottom,
float top,
float near,
float far,
float scale )

◆ guLookAt()

void guLookAt ( Mtx * m,
f32 xEye,
f32 yEye,
f32 zEye,
f32 xAt,
f32 yAt,
f32 zAt,
f32 xUp,
f32 yUp,
f32 zUp )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guLookAtF()

void guLookAtF ( f32 mf[4][4],
f32 xEye,
f32 yEye,
f32 zEye,
f32 xAt,
f32 yAt,
f32 zAt,
f32 xUp,
f32 yUp,
f32 zUp )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guLookAtReflect()

void guLookAtReflect ( Mtx * m,
LookAt * l,
float xEye,
float yEye,
float zEye,
float xAt,
float yAt,
float zAt,
float xUp,
float yUp,
float zUp )
Here is the call graph for this function:

◆ guMtxF2L()

void guMtxF2L ( float mf[4][4],
Mtx * m )
Here is the caller graph for this function:

◆ guMtxIdent()

void guMtxIdent ( Mtx * m)
Here is the call graph for this function:

◆ guMtxIdentF()

void guMtxIdentF ( float mf[4][4])
Here is the caller graph for this function:

◆ guMtxL2F()

void guMtxL2F ( float mf[4][4],
Mtx * m )
Here is the caller graph for this function:

◆ guNormalize()

void guNormalize ( float * x,
float * y,
float * z )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guOrtho()

void guOrtho ( Mtx * m,
float left,
float right,
float bottom,
float top,
float near,
float far,
float scale )

◆ guPerspective()

void guPerspective ( Mtx * m,
u16 * perspNorm,
float fovy,
float aspect,
float near,
float far,
float scale )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guPerspectiveF()

void guPerspectiveF ( float mf[4][4],
u16 * perspNorm,
float fovy,
float aspect,
float near,
float far,
float scale )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guRotate()

void guRotate ( Mtx * m,
float a,
float x,
float y,
float z )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guScale()

void guScale ( Mtx * m,
float x,
float y,
float z )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ guTranslate()

void guTranslate ( Mtx * m,
float x,
float y,
float z )
Here is the call graph for this function:
Here is the caller graph for this function: