patterns: Added rotation and scale sliders to 3D visualizer

This commit is contained in:
WerWolv
2023-02-16 23:24:24 +01:00
parent 6cecc12d04
commit 35437c0300
4 changed files with 65 additions and 5 deletions

View File

@@ -75,6 +75,13 @@ namespace hex::gl {
return copy;
}
auto operator==(const Vector<T, Size>& other) {
for (size_t i = 0; i < Size; i++)
if (this->m_data[i] != other[i])
return false;
return true;
}
private:
std::array<T, Size> m_data;
};