Skip to content

Commit

Permalink
Fix document of Rotation's transpose and inverse methods
Browse files Browse the repository at this point in the history
  • Loading branch information
J-F-Liu authored and Ralith committed Jun 18, 2024
1 parent 42a9dbe commit d1edb4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/geometry/rotation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl<T: Scalar, const D: usize> Rotation<T, D> {
impl<T: Scalar, const D: usize> Rotation<T, D> {
/// Transposes `self`.
///
/// Same as `.inverse()` because the inverse of a rotation matrix is its transform.
/// Same as `.inverse()` because the inverse of a rotation matrix is its transpose.
///
/// # Example
/// ```
Expand All @@ -305,7 +305,7 @@ impl<T: Scalar, const D: usize> Rotation<T, D> {

/// Inverts `self`.
///
/// Same as `.transpose()` because the inverse of a rotation matrix is its transform.
/// Same as `.transpose()` because the inverse of a rotation matrix is its transpose.
///
/// # Example
/// ```
Expand All @@ -329,7 +329,7 @@ impl<T: Scalar, const D: usize> Rotation<T, D> {

/// Transposes `self` in-place.
///
/// Same as `.inverse_mut()` because the inverse of a rotation matrix is its transform.
/// Same as `.inverse_mut()` because the inverse of a rotation matrix is its transpose.
///
/// # Example
/// ```
Expand All @@ -356,7 +356,7 @@ impl<T: Scalar, const D: usize> Rotation<T, D> {

/// Inverts `self` in-place.
///
/// Same as `.transpose_mut()` because the inverse of a rotation matrix is its transform.
/// Same as `.transpose_mut()` because the inverse of a rotation matrix is its transpose.
///
/// # Example
/// ```
Expand Down

0 comments on commit d1edb4f

Please sign in to comment.