Struct glm::Matrix3 [] [src]

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

Fields

Methods

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

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

Extends self to a Matrix4x3 by appending the column vector w.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq + BaseFloat> PartialEq for Matrix3<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 Matrix3<T>
[src]

Formats the value using the given formatter. Read more

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

The returned type after indexing.

Performs the indexing (container[index]) operation.

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

Performs the mutable indexing (container[index]) operation.

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

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

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

The resulting type after applying the + operator.

Performs the + operation.

impl<T: BaseFloat> ApproxEq for Matrix3<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<Matrix3<T>> for Matrix3<T>
[src]

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the / operator.

Performs the / operation.

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

The resulting type after applying the / operator.

Performs the / operation.

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

The resulting type after applying the % operator.

Performs the % operation.

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

The resulting type after applying the % operator.

Performs the % operation.

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

The resulting type after applying the - operator.

Performs the unary - operation.

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

The resulting type after applying the * operator.

Performs the * operation.

impl<T: BaseFloat> Mul<Vector3<T>> for Matrix3<T>
[src]

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

impl<T: BaseFloat> Zero for Matrix3<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, Vector3<T>> for Matrix3<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<Matrix2x3<T>> for Matrix3<T>
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<T: BaseFloat> Mul<Matrix3<T>> for Matrix3x2<T>
[src]

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

impl<T: BaseFloat> Mul<Matrix4x3<T>> for Matrix3<T>
[src]

The resulting type after applying the * operator.

Performs the * operation.

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

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

Returns true if self is equal to the multiplicative identity. Read more

impl<T: BaseFloat> GenSquareMat<T, Vector3<T>> for Matrix3<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

Auto Trait Implementations

impl<T> Send for Matrix3<T>

impl<T> Sync for Matrix3<T> where
    T: Sync