1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-02 22:14:33 +00:00

[headers 7] Add sys_matrix.h (#2150)

* add sys_matrix.h, based on MM's

* move matrix debug macros to sys_matrix.h

* bss
This commit is contained in:
Dragorn421 2024-09-07 06:26:47 +02:00 committed by GitHub
parent 8a3ba35070
commit e7b0daa2ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 88 additions and 50 deletions

View file

@ -66,6 +66,7 @@
#include "sys_math.h"
#include "sys_math3d.h"
#include "fp_math.h"
#include "sys_matrix.h"
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
@ -390,11 +391,6 @@ typedef struct DebugDispObject {
/* 0x28 */ struct DebugDispObject* next;
} DebugDispObject; // size = 0x2C
typedef enum MatrixMode {
/* 0 */ MTXMODE_NEW, // generates a new matrix
/* 1 */ MTXMODE_APPLY // applies transformation to the current matrix
} MatrixMode;
typedef struct StackEntry {
/* 0x00 */ struct StackEntry* next;
/* 0x04 */ struct StackEntry* prev;