Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Macros | Functions
guLookAtRef.c File Reference
#include <ultra64.h>

Macros

#define FTOFRAC8(x)   ((int) MIN(((x) * (128.0)), 127.0) & 0xff)
 

Functions

void guLookAtReflectF (float mf[4][4], LookAt *l, float xEye, float yEye, float zEye, float xAt, float yAt, float zAt, float xUp, float yUp, float zUp)
 
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

◆ FTOFRAC8

#define FTOFRAC8 (   x)    ((int) MIN(((x) * (128.0)), 127.0) & 0xff)

Function Documentation

◆ 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 
)

◆ guLookAtReflectF()

void guLookAtReflectF ( float  mf[4][4],
LookAt l,
float  xEye,
float  yEye,
float  zEye,
float  xAt,
float  yAt,
float  zAt,
float  xUp,
float  yUp,
float  zUp 
)