Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
matrices.c
Go to the documentation of this file.
1#include "common.h"
2#include <sys/types.h>
3#include <libgte.h>
4
5/*
6 * A zero vector, the identity (FIGHTSTG's root bone's parent) and three
7 * scales that double x, y or both. Nothing in the executable reads them, so
8 * no module can claim them: they lie between system/random.c's data and
9 * text/text_window.c's, both -G0 units, as either's or a file of their own.
10 */
11VECTOR ZERO_VECTOR = { 0, 0, 0 };
12MATRIX IDENTITY_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } };
13MATRIX DOUBLE_WIDTH_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x1000, 0 }, { 0, 0, 0x1000 } } };
14MATRIX DOUBLE_HEIGHT_MATRIX = { { { 0x1000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } };
15MATRIX DOUBLE_SIZE_MATRIX = { { { 0x2000, 0, 0 }, { 0, 0x2000, 0 }, { 0, 0, 0x1000 } } };
MATRIX DOUBLE_SIZE_MATRIX
Definition matrices.c:15
MATRIX DOUBLE_WIDTH_MATRIX
Definition matrices.c:13
MATRIX IDENTITY_MATRIX
the root bone's parent (src/engine/data/matrices.c)
Definition matrices.c:12
MATRIX DOUBLE_HEIGHT_MATRIX
Definition matrices.c:14
VECTOR ZERO_VECTOR
A zero vector, the identity (FIGHTSTG's root bone's parent) and three scales that double x,...
Definition matrices.c:11