pushing some additional features

This commit is contained in:
yggdrasil75
2026-01-18 20:44:30 -05:00
parent 81af30d4c6
commit b820c89bd0
5 changed files with 735 additions and 27 deletions

View File

@@ -312,6 +312,11 @@ public:
float aspect() {
return static_cast<float>(x) / static_cast<float>(y);
}
Vec2<float> toFloat() {
return Vec2<float>(static_cast<float>(x), static_cast<float>(y));
}
};
template<typename T>