mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
Angle cleanup - BINANG_TO_RAD
, BINANG_TO_RAD_ALT
(#1158)
* Run formatter * Touch up angle macros (parentheses and hex constants) * Add `BINANG_TO_RAD_ALT` * Swap `BINANG_TO_RAD` and `BINANG_TO_RAD_ALT` * Run formatter
This commit is contained in:
parent
4f6967b027
commit
0e5ecdcd73
65 changed files with 170 additions and 170 deletions
|
@ -57,7 +57,7 @@ void EffectSsFcircle_Draw(GlobalContext* globalCtx, u32 index, EffectSs* this) {
|
|||
|
||||
Matrix_Translate(this->pos.x, this->pos.y, this->pos.z, MTXMODE_NEW);
|
||||
Matrix_Scale(xzScale, yScale, xzScale, MTXMODE_APPLY);
|
||||
Matrix_RotateY(this->rYaw * (M_PI / 0x8000), MTXMODE_APPLY);
|
||||
Matrix_RotateY(BINANG_TO_RAD(this->rYaw), MTXMODE_APPLY);
|
||||
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_eff_fcircle.c", 163),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
func_80093D84(globalCtx->state.gfxCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue