mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Use BINANG_TO_RAD_ALT
more (#1156)
This commit is contained in:
parent
8f9e309452
commit
c42c172e72
32 changed files with 113 additions and 113 deletions
|
@ -346,7 +346,7 @@ s32 EnSt_SetCylinderOC(EnSt* this, GlobalContext* globalCtx) {
|
|||
cyloffsets[i].z *= this->colliderScale;
|
||||
Matrix_Push();
|
||||
Matrix_Translate(cylPos.x, cylPos.y, cylPos.z, MTXMODE_NEW);
|
||||
Matrix_RotateY((this->initalYaw / 32768.0f) * M_PI, MTXMODE_APPLY);
|
||||
Matrix_RotateY(BINANG_TO_RAD_ALT(this->initalYaw), MTXMODE_APPLY);
|
||||
Matrix_MultVec3f(&cyloffsets[i], &cylPos);
|
||||
Matrix_Pop();
|
||||
this->colCylinder[i + 3].dim.pos.x = cylPos.x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue