[][src]Type Definition nalgebra::base::Matrix3

type Matrix3<N> = MatrixN<N, U3>;

A stack-allocated, column-major, 3x3 square matrix.

Implementations

impl<N: RealField> Matrix3<N>[src]

pub fn new_rotation(angle: N) -> Self[src]

Builds a 2 dimensional homogeneous rotation matrix from an angle in radian.

pub fn new_nonuniform_scaling_wrt_point(
    scaling: &Vector2<N>,
    pt: &Point2<N>
) -> Self
[src]

Creates a new homogeneous matrix that applies a scaling factor for each dimension with respect to point.

Can be used to implement "zoom_to" functionality.

Trait Implementations

impl<N: RealField> From<Rotation<N, U2>> for Matrix3<N>[src]

impl<N: RealField> From<Rotation<N, U3>> for Matrix3<N>[src]

impl<N: SimdRealField> From<Unit<Complex<N>>> for Matrix3<N> where
    N::Element: SimdRealField
[src]

impl<N: SimdRealField> From<Unit<Quaternion<N>>> for Matrix3<N> where
    N::Element: SimdRealField
[src]