Re-exports

pub use quaternion;

Modules

Various useful traits

Functions

Returns a row vector of a column matrix.
Multiplies two matrices.
Computes column vector in column matrix product.
Returns a row vector of a column matrix.
Transforms a 3D vector through a matrix.
Transforms a 2D position through column matrix.
Transforms a 2D vector through column matrix.
Multiplies two matrices.
Computes column vector in column matrix product.
Returns a row vector of a column matrix.
Transforms a 2D position through matrix.
Transforms a 2D vector through matrix.
Returns a row vector of a column matrix.
Multiplies two matrices.
Computes column vector in column matrix product.
Returns a row vector of a column matrix.
Transforms a 4D vector through a matrix.
Multiplies two matrices.
Computes column vector in column matrix product.
Returns a column vector of a row matrix.
Transforms a 3D position through matrix.
Transforms a 3D vector through matrix.
Dual-quaternion linear blending. See http://dcgi.felk.cvut.cz/home/zara/papers/TCD-CS-2006-46.pdf
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a matrix.
Constructs identity matrix.
Computes the inverse of a 2x3 matrix.
Computes inverse determinant of a 2x3 matrix.
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a matrix.
Constructs identity matrix.
Computes the inverse of a 3x3 matrix.
Computes inverse determinant of a 3x3 matrix.
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a matrix.
Constructs identity matrix.
Computes the inverse of a 3x2 matrix.
Computes inverse determinant of a 3x2 matrix.
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a matrix.
Constructs identity matrix.
Computes the inverse of a 3x4 matrix.
Computes inverse determinant of a 3x4 matrix.
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a 4x4 matrix.
Constructs identity matrix.
Computes the inverse of a 4x4 matrix.
Computes the inverse determinant of a 4x4 matrix.
rotation matrix for a radians about z
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Adds two matrices.
Converts to another matrix type.
Computes the determinant of a matrix.
Constructs identity matrix.
Computes the inverse of a 4x3 matrix.
Computes inverse determinant of a 4x3 matrix.
Subtracts ‘b’ from ‘a’.
Constructs the transpose of a matrix.
Takes the quaternion conjugate.
Constructs identity quaternion.
Multiplies two quaternions.
See http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/
Returns a column vector of a row matrix.
Multiplies two matrices.
Computes row vector in row matrix product.
Transforms a 2D position through matrix.
Transforms a 2D vector through matrix.
Returns a column vector of a row matrix.
Multiplies two matrices.
Computes row vector in row matrix product.
Transforms a 3D vector through a matrix.
Transforms a 2D position through row matrix.
Transforms a 2D vector through row matrix.
Returns a column vector of a row matrix.
Returns a column vector of a row matrix.
Multiplies two matrices.
Computes row vector in row matrix product.
Transforms a 3D position through matrix.
Transforms a 3D vector through matrix.
Returns a column vector of a row matrix.
Multiplies two matrices.
Computes row vector in row matrix product.
Transforms a 4D vector through a matrix.
Returns a column vector of a row matrix.
Adds two vectors.
Converts to another vector type.
Computes the cross product.
Computes the dot product.
Computes the inverse length of a vector.
Computes the length of vector.
Multiplies two vectors component wise.
Negates the vector.
Computes the normalized.
Computes the normalized difference between two vectors.
Multiplies the vector with a scalar.
Computes the square length of a vector.
Subtracts ‘b’ from ‘a’.
Adds two vectors.
Converts to another vector type.
Computes the cross product.
Computes the dot product.
Computes transformed position component.
Computes transformed vector component.
Computes the inverse length of a vector.
Computes the length of vector.
Multiplies two vectors component wise.
Negates the vector.
Computes the normalized.
Computes the normalized difference between two vectors.
Multiplies the vector with a scalar.
Computes the square length of a vector.
Subtracts ‘b’ from ‘a’.
Adds two vectors.
Converts to another vector type.
Computes the dot product.
Computes transformed position component.
Computes transformed vector component.
Computes the inverse length of a vector.
Computes the length of vector.
Multiplies two vectors component wise.
Negates the vector.
Computes the normalized.
Computes the normalized difference between two vectors.
Multiplies the vector with a scalar.
Computes the square length of a vector.
Subtracts ‘b’ from ‘a’.

Type Definitions

A dual-quaternion consists of a real component and a dual component, and can be used to represent both rotation and translation
A 2x3 matrix.
A 3x3 matrix.
A 3x2 matrix.
A 3x4 matrix.
A 4x4 matrix.
A 4x3 matrix.
Quaternion type alias.
A 2D vector.
A 3D vector.
A 4D vector.