mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Angle cleanup - DEG_TO_RAD
(#1157)
* Run formatter * Touch up angle macros (parentheses and hex constants) * Remove `DEGF_TO_RADF`, use `DEG_TO_RAD` instead * Remove `DEGTORAD`, use `DEG_TO_RAD` instead * Use `DEG_TO_RAD` more
This commit is contained in:
parent
c42c172e72
commit
4729ac131a
17 changed files with 37 additions and 41 deletions
|
@ -948,7 +948,7 @@ f32 BossTw_GetFloorY(Vec3f* pos) {
|
|||
}
|
||||
|
||||
Matrix_Push();
|
||||
Matrix_RotateY((45.0f * (M_PI / 180.0f)), MTXMODE_NEW);
|
||||
Matrix_RotateY(DEG_TO_RAD(45), MTXMODE_NEW);
|
||||
Matrix_MultVec3f(pos, &posRotated);
|
||||
Matrix_Pop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue