Add missing assignment operator overload for vec2=vec2

This commit is contained in:
Maddie Busig 2025-05-11 08:56:56 -07:00
parent 89b62078c5
commit 020d6572c7

View File

@ -160,6 +160,10 @@ public:
y = _y;
}
constexpr vec2& operator=(const vec2& other) noexcept {
vec2::operator=(other);
return *this;
}
constexpr vec2& operator=(const vec<2>& other) noexcept {
vec::operator=(other);
return *this;