summaryrefslogtreecommitdiff
path: root/include/m/m_vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m/m_vec.h')
-rw-r--r--include/m/m_vec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m/m_vec.h b/include/m/m_vec.h
index bd4cc4b0..8a61d03f 100644
--- a/include/m/m_vec.h
+++ b/include/m/m_vec.h
@@ -276,6 +276,10 @@ public:
return cM::atan2s(y, absXZ());
}
+ s32 atan2sXZ_Y() const {
+ return -atan2sY_XZ();
+ }
+
f32 angle(const mVec3_c &other) const {
return EGG::Vector3f::angle(other);
}