diff options
| author | fig02 <fig02srl@gmail.com> | 2024-11-17 17:02:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-17 17:02:07 -0500 |
| commit | 17edb82c0d22fb78135033f92a624bd6cde6f495 (patch) | |
| tree | 1f5f077c12e3a693745fcbb0aa450b35cf8ff9b6 /src/code/sys_matrix.c | |
| parent | cf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (diff) | |
Decouple Debug Features From gc-eu-mq-dbg (#2296)
* rename OOT_DEBUG to DEBUG_FEATURES
* makefile changes
* add DEBUG_ASSETS
* fix DEBUG_FEATURES usages
* format
* fix errors
* review
* fix problem and review2
* review
* add DEBUG_FEATURES to DEBUG_ASSETS check
* review
* whoops
* format
Diffstat (limited to 'src/code/sys_matrix.c')
| -rw-r--r-- | src/code/sys_matrix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c index b5c0b206b..19db7799e 100644 --- a/src/code/sys_matrix.c +++ b/src/code/sys_matrix.c @@ -1,5 +1,5 @@ #include "global.h" -#if OOT_DEBUG +#if DEBUG_FEATURES #include "fault.h" #endif @@ -609,7 +609,7 @@ Mtx* Matrix_MtxFToMtx(MtxF* src, Mtx* dest) { return dest; } -#if OOT_DEBUG +#if DEBUG_FEATURES Mtx* Matrix_ToMtx(Mtx* dest, const char* file, int line) { return Matrix_MtxFToMtx(MATRIX_CHECK_FLOATS(sCurrentMatrix, file, line), dest); @@ -629,7 +629,7 @@ Mtx* Matrix_Finalize(GraphicsContext* gfxCtx) { return Matrix_ToMtx(GRAPH_ALLOC(gfxCtx, sizeof(Mtx))); } -#endif /* OOT_DEBUG */ +#endif /* DEBUG_FEATURES */ Mtx* Matrix_MtxFToNewMtx(MtxF* src, GraphicsContext* gfxCtx) { return Matrix_MtxFToMtx(src, GRAPH_ALLOC(gfxCtx, sizeof(Mtx))); @@ -975,7 +975,7 @@ void Matrix_RotateAxis(f32 angle, Vec3f* axis, u8 mode) { } } -#if OOT_DEBUG +#if DEBUG_FEATURES MtxF* Matrix_CheckFloats(MtxF* mf, const char* file, int line) { s32 i, j; |
