diff --git a/openVulkanoCpp/Math/Pose.hpp b/openVulkanoCpp/Math/Pose.hpp index 22fbee8..6b1ae35 100644 --- a/openVulkanoCpp/Math/Pose.hpp +++ b/openVulkanoCpp/Math/Pose.hpp @@ -51,8 +51,14 @@ namespace OpenVulkano::Math [[nodiscard]] const Quaternion& GetOrientation() const { return m_orientation; } + void SetOrientation(const Math::Quaternion& orientation) { m_orientation = orientation; } + + void SetOrientation(const Math::Vector3_SIMD& eulerAngle) { m_orientation = Math::Utils::qua(eulerAngle); } + [[nodiscard]] const Vector3_SIMD& GetPosition() const { return m_position; } + void SetPosition(const Math::Vector3_SIMD& pos) { m_position = pos; } + [[nodiscard]] Pose Interpolate(const Pose& otherPose, T mixFactor) const { return Pose(