Minor doc fixes.
This commit is contained in:
parent
4984a96f27
commit
3eaa65c9cf
|
@ -93,7 +93,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a matrix with its elements filled with the components provided by a slice. The
|
/// Creates a matrix with its elements filled with the components provided by a slice. The
|
||||||
/// components must have the same layout as the matrix data storage (i.e. row-major or column-major).
|
/// components must have the same layout as the matrix data storage (i.e. column-major).
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn from_column_slice_generic(nrows: R, ncols: C, slice: &[N]) -> Self {
|
pub fn from_column_slice_generic(nrows: R, ncols: C, slice: &[N]) -> Self {
|
||||||
Self::from_iterator_generic(nrows, ncols, slice.iter().cloned())
|
Self::from_iterator_generic(nrows, ncols, slice.iter().cloned())
|
||||||
|
|
|
@ -2,14 +2,14 @@ use base::dimension::{U2, U3};
|
||||||
|
|
||||||
use geometry::{Isometry, Rotation2, Rotation3, UnitComplex, UnitQuaternion};
|
use geometry::{Isometry, Rotation2, Rotation3, UnitComplex, UnitQuaternion};
|
||||||
|
|
||||||
/// A 2-dimensional isometry using a unit complex number for its rotational part.
|
/// A 2-dimensional direct isometry using a unit complex number for its rotational part.
|
||||||
pub type Isometry2<N> = Isometry<N, U2, UnitComplex<N>>;
|
pub type Isometry2<N> = Isometry<N, U2, UnitComplex<N>>;
|
||||||
|
|
||||||
/// A 3-dimensional isometry using a unit quaternion for its rotational part.
|
/// A 3-dimensional direct isometry using a unit quaternion for its rotational part.
|
||||||
pub type Isometry3<N> = Isometry<N, U3, UnitQuaternion<N>>;
|
pub type Isometry3<N> = Isometry<N, U3, UnitQuaternion<N>>;
|
||||||
|
|
||||||
/// A 2-dimensional isometry using a rotation matrix for its rotational part.
|
/// A 2-dimensional direct isometry using a rotation matrix for its rotational part.
|
||||||
pub type IsometryMatrix2<N> = Isometry<N, U2, Rotation2<N>>;
|
pub type IsometryMatrix2<N> = Isometry<N, U2, Rotation2<N>>;
|
||||||
|
|
||||||
/// A 3-dimensional isometry using a rotation matrix for its rotational part.
|
/// A 3-dimensional direct isometry using a rotation matrix for its rotational part.
|
||||||
pub type IsometryMatrix3<N> = Isometry<N, U3, Rotation3<N>>;
|
pub type IsometryMatrix3<N> = Isometry<N, U3, Rotation3<N>>;
|
||||||
|
|
Loading…
Reference in New Issue