From 14da6cd460def7a4b4ddb199efc5a0f3e9a59cd0 Mon Sep 17 00:00:00 2001 From: robojumper Date: Mon, 15 Sep 2025 22:25:44 +0200 Subject: Try an operator overload --- include/m/m_angle.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/m') 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); } -- cgit v1.2.3