Fix default constructor for pose

This commit is contained in:
Georg Hagen
2024-10-22 10:33:10 +02:00
parent 0bde92291d
commit bc0d6ed9fe

View File

@@ -18,7 +18,7 @@ namespace OpenVulkano::Math
Vector3_SIMD<T> m_position;
public:
Pose() {}
Pose() : m_orientation(1,0,0,0), m_position(0) {}
Pose(const Quaternion<T>& orientation, const Vector3_SIMD<T>& position)
: m_orientation(orientation), m_position(position)