mirror of
https://github.com/zeldaret/oot
synced 2026-07-09 22:51:52 -04:00
additional matching functions in z_room, z_camera, and En_Zl3 (#541)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * small improvement * also minor * merge * matches * the room? * woo matches * spelling fix
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ typedef struct {
|
||||
/**
|
||||
* Trig macros
|
||||
*/
|
||||
#define DEGF_TO_BINANG(degreesf) (s16)(degreesf * 182.04167f + 0.5f)
|
||||
#define DEGF_TO_BINANG(degreesf) (s16)(degreesf * 182.04167f + .5f)
|
||||
#define RADF_TO_DEGF(radf) (radf * (180.0f / M_PI))
|
||||
#define DEGF_TO_RADF(degf) (degf * (M_PI / 180.0f))
|
||||
#define BINANG_ROT180(angle) ((s16)(angle - 0x7FFF))
|
||||
|
||||
Reference in New Issue
Block a user