forked from M-Labs/nalgebra
docs: Demonstrate correct function in to_homogeneous example (#1346)
This commit is contained in:
parent
6dce471297
commit
a60870daf6
@ -411,7 +411,7 @@ where
|
|||||||
/// 3.0, 4.0, 0.0,
|
/// 3.0, 4.0, 0.0,
|
||||||
/// 0.0, 0.0, 1.0);
|
/// 0.0, 0.0, 1.0);
|
||||||
/// let t = Transform2::from_matrix_unchecked(m);
|
/// let t = Transform2::from_matrix_unchecked(m);
|
||||||
/// assert_eq!(t.into_inner(), m);
|
/// assert_eq!(t.to_homogeneous(), m);
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
|
Loading…
Reference in New Issue
Block a user