summaryrefslogtreecommitdiff
path: root/include/SSystem
diff options
context:
space:
mode:
authorCaroline Madsen <69010899+randomsalience@users.noreply.github.com>2024-02-04 17:38:58 -0500
committerGitHub <noreply@github.com>2024-02-04 14:38:58 -0800
commit658cb52118ae9e1b4a9d50e2fa87a57ddd855c7a (patch)
treedc209c37b47e14e7877a9e9cc08c244a820830e3 /include/SSystem
parent0bde0ac354f75422e420dd84fce23be71882889b (diff)
work on d_a_door_boss (#2061)
Diffstat (limited to 'include/SSystem')
-rw-r--r--include/SSystem/SComponent/c_xyz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_xyz.h b/include/SSystem/SComponent/c_xyz.h
index 0cf07d2a43..4ebe1f9358 100644
--- a/include/SSystem/SComponent/c_xyz.h
+++ b/include/SSystem/SComponent/c_xyz.h
@@ -137,6 +137,7 @@ struct cXyz : Vec {
f32 getDotProduct(const Vec& other) const { return VECDotProduct(this, &other); }
f32 inprod(const Vec& other) const { return getDotProduct(other); }
+ f32 inprodXZ(const Vec& other) const { return x * other.x + z * other.z; }
};
#endif /* C_XYZ_H */