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

RADF_TO_DEGF -> RAD_TO_DEG

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

View file

@ -100,7 +100,7 @@ typedef struct {
#define DEG_TO_BINANG(degrees) (s16)((degrees) * (0x8000 / 180.0f))
#define DEG_TO_BINANG_ALT(degreesf) (s16)((degreesf) * 182.04167f + .5f)
#define RAD_TO_BINANG(radf) (s16)((radf) * (0x8000 / M_PI))
#define RADF_TO_DEGF(radf) ((radf) * (180.0f / M_PI))
#define RAD_TO_DEG(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))
#define BINANG_TO_DEG_ALT(binang) ((f32)(binang) * (360.0001525f / 65535.0f))