lot of metal changes, but no idea how this stuff works

This commit is contained in:
Dynamitos committed 2025-02-14 00:39:53 +01:00
1 parent 52cbdd8470
commit ee03b5fa5f
31 files changed
+335 -157

No files matched your search

+15 -1
View File
@@ -38,6 +38,20 @@ std::ostream& operator<<(std::ostream& stream, const Vector4& vector) {
return stream;
}
std::ostream& operator<<(std::ostream& stream, const UVector2& vector) {
stream << "UVec2(" << vector.x << ", " << vector.y << ")";
return stream;
}
std::ostream& operator<<(std::ostream& stream, const UVector& vector) {
stream << "UVec3(" << vector.x << ", " << vector.y << ", " << vector.z << ")";
return stream;
}
std::ostream& operator<<(std::ostream& stream, const UVector4& vector) {
stream << "UVec4(" << vector.x << ", " << vector.y << ", " << vector.z << ", " << vector.w << ")";
return stream;
}
std::ostream& operator<<(std::ostream& stream, const Quaternion& vector) {
stream << "Quat(" << vector.w << ", " << vector.x << ", " << vector.y << ", " << vector.z << ")";
return stream;
@@ -53,4 +67,4 @@ Vector Seele::parseVector(const char* str) {
float y = std::stof(base_match[2].str());
float z = std::stof(base_match[3].str());
return Vector(x, y, z);
}
}