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.

Trait Implementations

impl<N1: Real, N2: Real + SupersetOf<N1>> SubsetOf<Matrix4<N2>> for UnitQuaternion<N1>
[src]

[src]

The inclusion map: converts self to the equivalent element of its superset.

[src]

Checks if element is actually part of the subset Self (and can be converted to it).

[src]

Use with care! Same as self.to_superset but without any property checks. Always succeeds.

[src]

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more