summaryrefslogtreecommitdiff
path: root/src/code/sys_math3d.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2025-02-21 18:02:19 -0800
committerGitHub <noreply@github.com>2025-02-21 18:02:19 -0800
commit61961fb938fa2ff9a6b2391be09ad19d46b7b3d5 (patch)
tree7ef814f477dc8cbf5c48d5c52997ef83ffcd604f /src/code/sys_math3d.c
parenta96c93d9363c72010eace4e32c053e012afe5b9a (diff)
Remove asm-processor in favor of preprocess.sh (#1760)
* Remove asm-processor in favor of preprocess.sh * Remove duplicate CMD_F * preprocess_pragmas gitignore * Mac fixes * Macos + clang as cc check fixes * Need quotes for paths with spaces * Fix bss
Diffstat (limited to 'src/code/sys_math3d.c')
-rw-r--r--src/code/sys_math3d.c41
1 files changed, 4 insertions, 37 deletions
diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c
index 69435f663..039f58829 100644
--- a/src/code/sys_math3d.c
+++ b/src/code/sys_math3d.c
@@ -1,48 +1,15 @@
-#include "prevent_bss_reordering2.h" // bumps the bss index by 65
-// clang-format off
-// Partial structs taken from "prevent_bss_reordering.h", bumps the bss index by 59
-struct Dummy200 { int x; };
-struct Dummy201 { int x; };
-struct Dummy202 { int x; };
-struct Dummy203 { int x; };
-struct Dummy204 { int x; };
-struct Dummy205 { int x; };
-struct Dummy206 { int x; };
-struct Dummy207 { int x; };
-struct Dummy208 { int x; };
-struct Dummy209 { int x; };
-struct Dummy210 { int x; };
-struct Dummy211 { int x; };
-struct Dummy212 { int x; };
-struct Dummy213 { int x; };
-struct Dummy214 { int x; };
-struct Dummy215 { int x; };
-struct Dummy216 { int x; };
-struct Dummy217 { int x; };
-struct Dummy218 { int x; };
-struct Dummy219 { int x; };
-struct Dummy220 { int x; };
-struct Dummy221 { int x; };
-struct Dummy222 { int x; };
-struct Dummy223 { int x; };
-struct Dummy224 { int x; };
-struct Dummy225 { int x; };
-struct Dummy226 { int x; };
-struct Dummy227 { int x; };
-struct Dummy228 { int x; };
-typedef int Dummy229;
-
-// clang-format on
-
// Headers are currently valued at 60 mod 256 (./tools/calc_bss.sh <headers>)
#include "z64math.h"
#include "stdbool.h"
#include "PR/gu.h"
-// The bss index at this point should be 184
#include "macros.h"
+#pragma increment_block_number "n64-us:124"
+
+// The bss index at this point should be 184
+
Vec3f gZeroVec3f = { 0.0f, 0.0f, 0.0f };
Vec3s gZeroVec3s = { 0, 0, 0 };