Struct glm::Matrix4 [] [src]

#[repr(C)]
pub struct Matrix4<T: BaseFloat> { pub c0: Vector4<T>, pub c1: Vector4<T>, pub c2: Vector4<T>, pub c3: Vector4<T>, }

Fields

Methods

impl<T: BaseFloat> Matrix4<T>
[src]

Trait Implementations

impl<T: Copy + BaseFloat> Copy for Matrix4<T>
[src]

impl<T: Clone + BaseFloat> Clone for Matrix4<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq + BaseFloat> PartialEq for Matrix4<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Debug + BaseFloat> Debug for Matrix4<T>
[src]

Formats the value using the given formatter.

impl<T: BaseFloat> Index<usize> for Matrix4<T>
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<T: BaseFloat> IndexMut<usize> for Matrix4<T>
[src]

The method for the mutable indexing (container[index]) operation

impl<T: BaseFloat> Rand for Matrix4<T>
[src]

Generates a random instance of this type using the specified source of randomness. Read more

impl<T: BaseFloat> Add<T> for Matrix4<T>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<T: BaseFloat> ApproxEq for Matrix4<T>
[src]

Returns true if the difference between x and y is less than max_diff. Read more

Returns true if the difference between x and y is less than machine epsilon. Read more

impl<T: BaseFloat> Add<Matrix4<T>> for Matrix4<T>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<T: BaseFloat> Sub<T> for Matrix4<T>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<T: BaseFloat> Sub<Matrix4<T>> for Matrix4<T>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<T: BaseFloat> Div<T> for Matrix4<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: BaseFloat> Div<Matrix4<T>> for Matrix4<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: BaseFloat> Rem<T> for Matrix4<T>
[src]

The resulting type after applying the % operator

The method for the % operator

impl<T: BaseFloat> Rem<Matrix4<T>> for Matrix4<T>
[src]

The resulting type after applying the % operator

The method for the % operator

impl<T: BaseFloat> Neg for Matrix4<T>
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<T: BaseFloat> Mul<T> for Matrix4<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: BaseFloat> Mul<Vector4<T>> for Matrix4<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: BaseFloat> Mul<Matrix4<T>> for Matrix4<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: BaseFloat> Zero for Matrix4<T>
[src]

Returns the additive identity element of Self, 0. Read more

Returns true if self is equal to the additive identity.

impl<T: BaseFloat> GenMat<T, Vector4<T>> for Matrix4<T>
[src]

Type of row vectors.

Type of transpose matrix.

Returns the transpose matrix. Read more

Component-wise multiplication. Read more

impl<T: BaseFloat> Mul<Matrix2x4<T>> for Matrix4<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: BaseFloat> Mul<Matrix3x4<T>> for Matrix4<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: BaseFloat> One for Matrix4<T>
[src]

Returns the multiplicative identity element of Self, 1. Read more

impl<T: BaseFloat> GenSquareMat<T, Vector4<T>> for Matrix4<T>
[src]

Returns the determinant of a square matrix. Read more

Returns the inverse matrix of a square matrix, or None if the matrix is not invertible. Read more