1
0
Fork 0
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:
Dragorn421 2022-03-20 23:58:36 +01:00 committed by GitHub
parent 8f9e309452
commit c42c172e72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 113 additions and 113 deletions

View file

@ -286,8 +286,8 @@ void func_80AF95C4(EnSda* this, u8* shadowTexture, Player* player, GlobalContext
sp178.x *= (KREG(88) - 1);
Matrix_Mult(&player->shieldMf, MTXMODE_NEW);
Matrix_MultVec3f(&D_80AFA0D0, &sp16C);
Matrix_RotateY((sp178.y / 32768.0f) * M_PI, MTXMODE_NEW);
Matrix_RotateX((sp178.x / 32768.0f) * M_PI, MTXMODE_APPLY);
Matrix_RotateY(BINANG_TO_RAD_ALT(sp178.y), MTXMODE_NEW);
Matrix_RotateX(BINANG_TO_RAD_ALT(sp178.x), MTXMODE_APPLY);
for (i = 0; i < 22; i++) {
Matrix_MultVec3f(&D_80AFA180[i], &sp188);
if (1) {}