more collision enums and inlines

This commit is contained in:
LagoLunatic
2023-12-22 21:02:23 -05:00
parent 7a80acf503
commit 0490fd3c84
37 changed files with 95 additions and 93 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ void daObj_Hole_c::getPosAndAngle() {
mLinChk.Set(&posUp, &posDown, this);
if (dComIfG_Bgsp()->LineCross(&mLinChk) != 0) {
cM3dGPla* triPla = dComIfG_Bgsp()->GetTriPla(mLinChk.GetBgIndex(), mLinChk.GetPolyIndex());
cM3dGPla* triPla = dComIfG_Bgsp()->GetTriPla(mLinChk);
triPla->CalcAngleXz(&shape_angle.x, &shape_angle.z);
triPla->getCrossY(current.pos, &current.pos.y);