Extend Pose
This commit is contained in:
@@ -51,8 +51,14 @@ namespace OpenVulkano::Math
|
||||
|
||||
[[nodiscard]] const Quaternion<T>& GetOrientation() const { return m_orientation; }
|
||||
|
||||
void SetOrientation(const Math::Quaternion<T>& orientation) { m_orientation = orientation; }
|
||||
|
||||
void SetOrientation(const Math::Vector3_SIMD<T>& eulerAngle) { m_orientation = Math::Utils::qua(eulerAngle); }
|
||||
|
||||
[[nodiscard]] const Vector3_SIMD<T>& GetPosition() const { return m_position; }
|
||||
|
||||
void SetPosition(const Math::Vector3_SIMD<T>& pos) { m_position = pos; }
|
||||
|
||||
[[nodiscard]] Pose<T> Interpolate(const Pose<T>& otherPose, T mixFactor) const
|
||||
{
|
||||
return Pose<T>(
|
||||
|
||||
Reference in New Issue
Block a user