Viewport controls

This commit is contained in:
Dynamitos
2022-11-17 16:47:42 +01:00
parent f635ee2100
commit 4ba0bf3b45
73 changed files with 627 additions and 449 deletions
+6 -5
View File
@@ -27,10 +27,6 @@ typedef glm::quat Quaternion;
Vector parseVector(const char*);
std::ostream& operator<<(std::ostream& stream, const Vector2& vector);
std::ostream& operator<<(std::ostream& stream, const Vector& vector);
std::ostream& operator<<(std::ostream& stream, const Vector4& vector);
static inline float square(float x)
{
return x * x;
@@ -101,4 +97,9 @@ static inline Vector toRotator(const Quaternion &other)
return rotatorFromQuat;
}
} // namespace Math
} // namespace Seele
} // namespace Seele
std::ostream& operator<<(std::ostream& stream, const Seele::Math::Vector2& vector);
std::ostream& operator<<(std::ostream& stream, const Seele::Math::Vector& vector);
std::ostream& operator<<(std::ostream& stream, const Seele::Math::Vector4& vector);