Add missing assignment operator overload for vec2=vec2

This commit is contained in:
Madeline Busig 2025-05-11 08:56:56 -07:00
parent 0381144c3f
commit 5dc82a2f96

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;