summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
diff options
context:
space:
mode:
authorYunataSavior <58997725+YunataSavior@users.noreply.github.com>2025-05-19 08:40:57 -0700
committerGitHub <noreply@github.com>2025-05-19 18:40:57 +0300
commit9ffb52027a27a2e3c6ad6bb8b954ff0924db2503 (patch)
treee8c4112706100f782ce72ce0f39aa70d05866725 /include/SSystem/SComponent
parent75443954d41142a644ce58cc6d1532fd29d2fd55 (diff)
Debug and various d_ev_camera fixes (#2448)
Diffstat (limited to 'include/SSystem/SComponent')
-rw-r--r--include/SSystem/SComponent/c_angle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SSystem/SComponent/c_angle.h b/include/SSystem/SComponent/c_angle.h
index cc98ae4c5b..fc3436c64f 100644
--- a/include/SSystem/SComponent/c_angle.h
+++ b/include/SSystem/SComponent/c_angle.h
@@ -44,6 +44,7 @@ public:
bool operator>(const cSAngle& other) const { return mAngle > other.mAngle; }
bool operator<=(const cSAngle& other) const { return mAngle <= other.mAngle; }
bool operator>=(const cSAngle& other) const { return mAngle >= other.mAngle; }
+ bool operator==(const cSAngle& other) const { return mAngle == other.mAngle; }
operator s16(void) const { return mAngle; }
void operator=(const cSAngle& other) { mAngle = other.mAngle; }
static inline cSAngle getMaxNegative(void) { return cSAngle((s16)-0x8000); }