Skip to content

Commit

Permalink
Remove unused Matrix4::rotateByEulerYXZDegrees()
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mott committed Mar 20, 2021
1 parent 09f8c77 commit abdab5a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions libs/math/Matrix4.h
Expand Up @@ -548,13 +548,6 @@ class Matrix4
*/
Matrix4 getRotatedByEulerYXZDegrees(const Vector3& euler) const;

/**
* Concatenates this with the rotation transform produced
* by euler angles (degrees) in the order (y, x, z).
* The concatenated rotation occurs before self.
*/
void rotateByEulerYXZDegrees(const Vector3& euler);

/**
* Returns this matrix concatenated with the rotation transform produced by the given
* euler angles (degrees) in the order (z, x, y). The concatenated rotation occurs before this matrix.
Expand Down Expand Up @@ -975,13 +968,6 @@ inline Matrix4 Matrix4::getRotatedByEulerYXZDegrees(const Vector3& euler) const
return getMultipliedBy(getRotationForEulerYXZDegrees(euler));
}

/// \brief Concatenates \p self with the rotation transform produced by \p euler angles (degrees) in the order (y, x, z).
/// The concatenated rotation occurs before \p self.
inline void Matrix4::rotateByEulerYXZDegrees(const Vector3& euler)
{
*this = getRotatedByEulerYXZDegrees(euler);
}

inline Matrix4 Matrix4::getRotatedByEulerZXYDegrees(const Vector3& euler) const
{
return getMultipliedBy(getRotationForEulerZXYDegrees(euler));
Expand Down

0 comments on commit abdab5a

Please sign in to comment.