Skip to content

Commit

Permalink
docs: Demonstrate correct function in to_homogeneous example (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminDR committed Jan 5, 2024
1 parent 6dce471 commit a60870d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ where
/// 3.0, 4.0, 0.0,
/// 0.0, 0.0, 1.0);
/// let t = Transform2::from_matrix_unchecked(m);
/// assert_eq!(t.into_inner(), m);
/// assert_eq!(t.to_homogeneous(), m);
/// ```
#[inline]
#[must_use]
Expand Down

0 comments on commit a60870d

Please sign in to comment.