Summary:
- Added const references to GetPosition & GetOrientation - Renamed OnCurrentFrameFinished() - Added references to functions in comments
This commit is contained in:
@@ -44,14 +44,14 @@ namespace OpenVulkano::Math
|
||||
}
|
||||
}
|
||||
|
||||
bool operator==(const Math::Pose<T> &otherPose)
|
||||
bool operator==(const Math::Pose<T> &otherPose) const
|
||||
{
|
||||
return (GetOrientation() == otherPose.GetOrientation()) && (GetPosition() == otherPose.GetPosition());
|
||||
}
|
||||
|
||||
[[nodiscard]] Quaternion<T> GetOrientation() const { return m_orientation; }
|
||||
[[nodiscard]] const Quaternion<T>& GetOrientation() const { return m_orientation; }
|
||||
|
||||
[[nodiscard]] Vector3_SIMD<T> GetPosition() const { return m_position; }
|
||||
[[nodiscard]] const Vector3_SIMD<T>& GetPosition() const { return m_position; }
|
||||
|
||||
[[nodiscard]] Pose<T> Interpolate(const Pose<T>& otherPose, T mixFactor) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user