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

[ntsc-1.2] Match N64 libultra (#2081)

* Match N64 libultra

* INITIALIZE_FUNC -> OSINITIALIZE_FUNC

* Document osGetIntMask

* Refer readers of osGetIntMask to osSetIntMask comment

* Whitelist new static functions in disasm unksyms check
This commit is contained in:
cadmic 2024-08-28 18:30:36 -07:00 committed by GitHub
parent 6e8b820184
commit 7079005c83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 344 additions and 42 deletions

View file

@ -0,0 +1,9 @@
#include "global.h"
void guNormalize(f32* x, f32* y, f32* z) {
f32 m = 1 / sqrtf(SQ(*x) + SQ(*y) + SQ(*z));
*x *= m;
*y *= m;
*z *= m;
}