diff options
| author | robojumper <robojumper@gmail.com> | 2026-05-23 22:58:30 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-05-25 00:55:20 +0200 |
| commit | 916f07e2867eb7b4e5276dea5692f8d1ab67f9ec (patch) | |
| tree | bab6ba628a292f215b03d54e3aa3f7d06b86e5cb /include/m | |
| parent | 483ac7b934e4e3443366640320ae9b1ade65fe90 (diff) | |
dAcArrow_c 99%
Diffstat (limited to 'include/m')
| -rw-r--r-- | include/m/m_vec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m/m_vec.h b/include/m/m_vec.h index 6f0047b9..bd4cc4b0 100644 --- a/include/m/m_vec.h +++ b/include/m/m_vec.h @@ -265,6 +265,9 @@ public: s16 atan2sX_Z() const { return cM::atan2s(x, z); } + s16 atan2snX_nZ() const { + return cM::atan2s(-x, -z); + } s16 atan2snY_XZ() const { return cM::atan2s(-y, absXZ()); } |
