summaryrefslogtreecommitdiff
path: root/include/m
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-09-15 22:25:44 +0200
committerrobojumper <robojumper@gmail.com>2025-09-15 22:25:44 +0200
commit14da6cd460def7a4b4ddb199efc5a0f3e9a59cd0 (patch)
treee920c56055cf5e4474726a720873c068e67151b2 /include/m
parent72dd147e80db6db639e9ae79996b2d2d64456c90 (diff)
Try an operator overload
Diffstat (limited to 'include/m')
-rw-r--r--include/m/m_angle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m/m_angle.h b/include/m/m_angle.h
index d850b1f3..6eddfc96 100644
--- a/include/m/m_angle.h
+++ b/include/m/m_angle.h
@@ -150,6 +150,10 @@ public:
return *this;
}
+ bool operator==(const mAng3_c &other) const {
+ return x == other.x && y == other.y && z == other.z;
+ }
+
void set(const mAng3_c &other) {
set(other.x, other.y, other.z);
}