Skip to content

Commit

Permalink
rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Jan 24, 2024
1 parent f461eb2 commit 8e6b69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orientation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ impl HexOrientationData {

#[must_use]
#[inline]
/// Applies [`Self::forward_matrix`] to a point `p`
/// Applies the orientation `forward_matrix` to a point `p`
pub fn forward(&self, p: [f32; 2]) -> [f32; 2] {
Self::matrix_op(self.forward_matrix, p)
}

#[must_use]
#[inline]
/// Applies [`Self::inverse_matrix`] to a point `p`
/// Applies the orientation `inverse_matrix` to a point `p`
pub fn inverse(&self, p: [f32; 2]) -> [f32; 2] {
Self::matrix_op(self.inverse_matrix, p)
}
Expand Down

0 comments on commit 8e6b69d

Please sign in to comment.