Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
matrices.c File Reference
#include "common.h"
#include <sys/types.h>
#include <libgte.h>
Include dependency graph for matrices.c:

Go to the source code of this file.

Variables

VECTOR ZERO_VECTOR = { 0, 0, 0 }
 A zero vector, the identity (FIGHTSTG's root bone's parent) and three scales that double x, y or both.
 
MATRIX IDENTITY_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } }
 the root bone's parent (src/engine/data/matrices.c)
 
MATRIX DOUBLE_WIDTH_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } }
 
MATRIX DOUBLE_HEIGHT_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } }
 
MATRIX DOUBLE_SIZE_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } }
 

Variable Documentation

◆ ZERO_VECTOR

VECTOR ZERO_VECTOR = { 0, 0, 0 }

A zero vector, the identity (FIGHTSTG's root bone's parent) and three scales that double x, y or both.

Nothing in the executable reads them, so no module can claim them: they lie between system/random.c's data and text/text_window.c's, both -G0 units, as either's or a file of their own.

Definition at line 11 of file matrices.c.

◆ IDENTITY_MATRIX

MATRIX IDENTITY_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } }

the root bone's parent (src/engine/data/matrices.c)

Definition at line 12 of file matrices.c.

Referenced by FIGHTSTG_createModel(), and FIGHTSTG_projectPoint().

◆ DOUBLE_WIDTH_MATRIX

MATRIX DOUBLE_WIDTH_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } }

Definition at line 13 of file matrices.c.

◆ DOUBLE_HEIGHT_MATRIX

MATRIX DOUBLE_HEIGHT_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } }

Definition at line 14 of file matrices.c.

◆ DOUBLE_SIZE_MATRIX

MATRIX DOUBLE_SIZE_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } }

Definition at line 15 of file matrices.c.