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

RADF_TO_BINANG -> RAD_TO_BINANG

This commit is contained in:
Dragorn421 2022-04-03 21:16:17 +02:00
parent a5bae4ea01
commit aff0379da7
No known key found for this signature in database
GPG key ID: C182A3A3996E8201
46 changed files with 118 additions and 118 deletions

View file

@ -99,7 +99,7 @@ typedef struct {
// Angle conversion macros
#define DEG_TO_BINANG(degrees) (s16)((degrees) * (0x8000 / 180.0f))
#define DEG_TO_BINANG_ALT(degreesf) (s16)((degreesf) * 182.04167f + .5f)
#define RADF_TO_BINANG(radf) (s16)((radf) * (0x8000 / M_PI))
#define RAD_TO_BINANG(radf) (s16)((radf) * (0x8000 / M_PI))
#define RADF_TO_DEGF(radf) ((radf) * (180.0f / M_PI))
#define DEG_TO_RAD(degrees) ((degrees) * (M_PI / 180.0f))
#define BINANG_TO_DEG(binang) ((f32)(binang) * (180.0f / 0x8000))