summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_ari.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-03-23 12:55:28 -0700
committerGitHub <noreply@github.com>2025-03-23 21:55:28 +0200
commita4cdad86f4eb28df25708e8b4b1988148f690f2e (patch)
treebe0399dac50abe47e0d5d718a9fe9bdbffcbf474 /src/d/actor/d_a_obj_ari.cpp
parent4dc0cd9d09d5a53bf6d68f0018a8053a1507ee9a (diff)
b_gnd equivalent (#2340)
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
Diffstat (limited to 'src/d/actor/d_a_obj_ari.cpp')
-rw-r--r--src/d/actor/d_a_obj_ari.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/d/actor/d_a_obj_ari.cpp b/src/d/actor/d_a_obj_ari.cpp
index e4d60f3366..b9a586980c 100644
--- a/src/d/actor/d_a_obj_ari.cpp
+++ b/src/d/actor/d_a_obj_ari.cpp
@@ -191,7 +191,7 @@ void daObjARI_c::WallWalk() {
cXyz zero(0.0f, 0.0f, 0.0f);
cXyz normal_yz(0.0f, normal->y, normal->z);
f32 normal_len_yz = zero.abs(normal_yz);
- mTargetPos = lin_chk1.i_GetCross();
+ mTargetPos = lin_chk1.GetCross();
mDownAngleY = normal_ang_y;
mWallAngle.z = -cM_atan2s(normal->x, normal_len_yz);
mWallAngle.x = cM_atan2s(normal->z, normal->y);
@@ -205,7 +205,7 @@ void daObjARI_c::WallWalk() {
cXyz zero(0.0f, 0.0f, 0.0f);
cXyz normal_yz(0.0f, normal->y, normal->z);
f32 normal_len_yz = zero.abs(normal_yz);
- mTargetPos = lin_chk2.i_GetCross();
+ mTargetPos = lin_chk2.GetCross();
mDownAngleY = normal_ang_y;
mWallAngle.z = -cM_atan2s(normal->x, normal_len_yz);
mWallAngle.x = cM_atan2s(normal->z, normal->y);
@@ -269,7 +269,7 @@ void daObjARI_c::checkGround() {
if (dComIfG_Bgsp().LineCross(&lin_chk)) {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
- current.pos = lin_chk.i_GetCross();
+ current.pos = lin_chk.GetCross();
const cXyz* normal = plane.GetNP();
cXyz zero(0.0f, 0.0f, 0.0f);
cXyz normal_yz(0.0f, normal->y, normal->z);
@@ -351,7 +351,7 @@ void daObjARI_c::BoomChk() {
if (dComIfG_Bgsp().LineCross(&lin_chk)) {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
- old.pos = lin_chk.i_GetCross();
+ old.pos = lin_chk.GetCross();
current.pos = old.pos;
mAction = 0;
mMode = 0;
@@ -466,7 +466,7 @@ int daObjARI_c::Execute() {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
const cXyz* normal = plane.GetNP();
- current.pos = lin_chk.i_GetCross();
+ current.pos = lin_chk.GetCross();
mTargetPos = current.pos;
old.pos = current.pos;
cXyz zero(0.0f, 0.0f, 0.0f);
@@ -485,7 +485,7 @@ int daObjARI_c::Execute() {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
const cXyz* normal = plane.GetNP();
- current.pos = lin_chk.i_GetCross();
+ current.pos = lin_chk.GetCross();
mTargetPos = current.pos;
old.pos = current.pos;
cXyz zero(0.0f, 0.0f, 0.0f);
@@ -690,7 +690,7 @@ cPhs__Step daObjARI_c::create() {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
const cXyz* normal = plane.GetNP();
- current.pos = lin_chk.i_GetCross();
+ current.pos = lin_chk.GetCross();
cXyz zero(0.0f, 0.0f, 0.0f);
cXyz normalYZ(0.0f, normal->y, normal->z);
mWallAngle.z = mWallAlignAngle.z = -cM_atan2s(normal->x, zero.abs(normalYZ));
@@ -711,7 +711,7 @@ cPhs__Step daObjARI_c::create() {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
const cXyz* normal = plane.GetNP();
- current.pos = lin_chk.i_GetCross();
+ current.pos = lin_chk.GetCross();
cXyz zero(0.0f, 0.0f, 0.0f);
cXyz normalYZ(0.0f, normal->y, normal->z);
mWallAngle.z = mWallAlignAngle.z = -cM_atan2s(normal->x, zero.abs(normalYZ));