summaryrefslogtreecommitdiff
path: root/include/d/col
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2025-11-20 01:24:43 -0500
committerelijah-thomas774 <elijahthomas774@gmail.com>2025-11-22 14:53:36 -0500
commitb4e57d0f406e8931ae9d9313baee7e704ae5b951 (patch)
tree63311a3c0e7dcdf7a82f9162496a9cf447f8e999 /include/d/col
parent54c3f67bdfc7de117899055558024b40266202ea (diff)
almost there
Diffstat (limited to 'include/d/col')
-rw-r--r--include/d/col/c/c_m3d_g_pla.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/d/col/c/c_m3d_g_pla.h b/include/d/col/c/c_m3d_g_pla.h
index 2ead0cff..2e178d45 100644
--- a/include/d/col/c/c_m3d_g_pla.h
+++ b/include/d/col/c/c_m3d_g_pla.h
@@ -55,8 +55,8 @@ public:
void SetupFrom3Vtx(const nw4r::math::VEC3 *v1, const nw4r::math::VEC3 *v2, const nw4r::math::VEC3 *v3) {
cM3d_CalcPla(v1, v2, v3, &mNormal, &mD);
}
- f32 getCrossY_NonIsZero(const mVec3_c *param_1) {
- return -(mNormal.x * param_1->x + mNormal.z * param_1->z) / mNormal.y;
+ f32 getCrossY_NonIsZero(const mVec3_c *param_1) const {
+ return -(param_1->x * mNormal.x + mNormal.z * param_1->z) / mNormal.y;
}
f32 GetXZDist() const {