Try an operator overload

This commit is contained in:
robojumper
2025-09-15 22:25:44 +02:00
parent 72dd147e80
commit 14da6cd460
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -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);
}