Type Definition nalgebra::core::Matrix4 [] [src]

type Matrix4<N> = MatrixN<N, U4>;

A stack-allocated, column-major, 4x4 square matrix.

Methods

impl<N: Real> Matrix4<N>
[src]

[src]

Builds a 3D homogeneous rotation matrix from an axis and an angle (multiplied together).

Returns the identity matrix if the given argument is zero.

[src]

Builds a 3D homogeneous rotation matrix from an axis and an angle (multiplied together).

Returns the identity matrix if the given argument is zero.

[src]

Builds a 3D homogeneous rotation matrix from an axis and an angle (multiplied together).

Returns the identity matrix if the given argument is zero. This is identical to Self::new_rotation.

[src]

Creates a new rotation from Euler angles.

The primitive rotations are applied in order: 1 roll − 2 pitch − 3 yaw.

[src]

Builds a 3D homogeneous rotation matrix from an axis and a rotation angle.

[src]

Creates a new homogeneous matrix for an orthographic projection.

[src]

Creates a new homogeneous matrix for a perspective projection.

[src]

Creates an isometry that corresponds to the local frame of an observer standing at the point eye and looking toward target.

It maps the view direction target - eye to the positive z axis and the origin to the eye.

[src]

Builds a right-handed look-at view matrix.

[src]

Builds a left-handed look-at view matrix.