Fix issue with pose interpolation
This commit is contained in:
@@ -68,7 +68,7 @@ namespace OpenVulkano::Math
|
||||
[[nodiscard]] Pose<T> Interpolate(const Pose<T>& otherPose, T mixFactor) const
|
||||
{
|
||||
return Pose<T>(
|
||||
Utils::mix(m_orientation, otherPose.m_orientation, mixFactor),
|
||||
Utils::slerp(m_orientation, otherPose.m_orientation, mixFactor),
|
||||
Utils::mix(m_position, otherPose.m_position, mixFactor)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user