diff options
| author | Caroline Madsen <69010899+randomsalience@users.noreply.github.com> | 2024-02-04 17:38:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-04 14:38:58 -0800 |
| commit | 658cb52118ae9e1b4a9d50e2fa87a57ddd855c7a (patch) | |
| tree | dc209c37b47e14e7877a9e9cc08c244a820830e3 /include/SSystem/SComponent | |
| parent | 0bde0ac354f75422e420dd84fce23be71882889b (diff) | |
work on d_a_door_boss (#2061)
Diffstat (limited to 'include/SSystem/SComponent')
| -rw-r--r-- | include/SSystem/SComponent/c_xyz.h | 1 |
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 */ |
