clean up some inline parameters

This commit is contained in:
LagoLunatic
2024-04-18 23:16:38 -04:00
parent c93901ce2c
commit 459cf6caa7
28 changed files with 60 additions and 62 deletions
+2 -2
View File
@@ -844,7 +844,7 @@ BOOL daArrow_c::procMove() {
current.pos = old.pos;
field_0x69c = 0x2C00;
csXyz temp9;
cM3d_CalcVecZAngle(triPla->mNormal, &temp9);
cM3d_CalcVecZAngle(*triPla->GetNP(), &temp9);
dComIfGp_particle_setP1(dPa_name::ID_COMMON_PURPLE_HIT, &field_0x6a8, &temp9);
fopAcM_seStartCurrent(this, JA_SE_LK_ARROW_REBOUND, mtrlSndId);
@@ -910,7 +910,7 @@ BOOL daArrow_c::procReturn() {
cM3dGPla* triPla = dComIfG_Bgsp()->GetTriPla(mLinChk);
f32 temp2 = speed.abs();
cXyz temp1;
C_VECReflect(&speed, &triPla->mNormal, &temp1);
C_VECReflect(&speed, triPla->GetNP(), &temp1);
speed.x = temp1.x*temp2*0.5f;
speed.y = temp1.y*temp2*0.5f;
speed.z = temp1.z*temp2*0.5f;