1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-17 04:20:44 +00:00

Remove Variables.h; Decouple z64.h from global.h (#2507)

* progress

* z64.h issues sorted

* remove variables.h

* format

* n64 fix

* another fix

* did the wrong fix

* fix libleo

* fix bss

* review

* remove instead of comment
This commit is contained in:
fig02 2025-04-19 22:04:08 -04:00 committed by GitHub
parent 655ec77138
commit 2278bcb2c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
196 changed files with 273 additions and 218 deletions

View file

@ -1,4 +1,5 @@
#include "global.h"
#include "ultra64.h"
#include "z64math.h" // TODO: libultra should not have access to game-side headers
void guNormalize(f32* x, f32* y, f32* z) {
f32 m = 1 / sqrtf(SQ(*x) + SQ(*y) + SQ(*z));