Module directx_math::matrix[][src]

Functions

XMMatrixAffineTransformation

Builds an affine transformation matrix.

XMMatrixAffineTransformation2D

Builds a 2D affine transformation matrix in the xy plane.

XMMatrixDecompose

Breaks down a general 3D transformation matrix into its scalar, rotational, and translational components.

XMMatrixDeterminant

Computes the determinant of a matrix.

XMMatrixIdentity

Builds the identity matrix.

XMMatrixInverse

Computes the inverse of a matrix.

XMMatrixIsIdentity

Tests whether a matrix is the identity matrix.

XMMatrixIsInfinite

Tests whether any of the elements of a matrix are infinite.

XMMatrixIsNaN

Tests whether any of the elements of a matrix are NaN.

XMMatrixLookAtLH

Builds a view matrix for a left-handed coordinate system using a camera position, an up direction, and a focal point.

XMMatrixLookAtRH

Builds a view matrix for a right-handed coordinate system using a camera position, an up direction, and a focal point.

XMMatrixLookToLH

Builds a view matrix for a left-handed coordinate system using a camera position, an up direction, and a camera direction.

XMMatrixLookToRH

Builds a view matrix for a right-handed coordinate system using a camera position, an up direction, and a camera direction.

XMMatrixMultiply

Computes the product of two matrices.

XMMatrixMultiplyTranspose

Computes the transpose of the product of two matrices.

XMMatrixOrthographicLH

Builds an orthogonal projection matrix for a left-handed coordinate system.

XMMatrixOrthographicRH

Builds an orthogonal projection matrix for a right-handed coordinate system.

XMMatrixPerspectiveFovLH

Builds a left-handed perspective projection matrix based on a field of view.

XMMatrixPerspectiveFovRH

Builds a right-handed perspective projection matrix based on a field of view.

XMMatrixPerspectiveLH

Builds a left-handed perspective projection matrix.

XMMatrixPerspectiveRH

Builds a right-handed perspective projection matrix.

XMMatrixReflect

Builds a transformation matrix designed to reflect vectors through a given plane.

XMMatrixRotationAxis

Builds a matrix that rotates around an arbitrary axis.

XMMatrixRotationNormal

Builds a matrix that rotates around an arbitrary normal vector.

XMMatrixRotationQuaternion

Builds a rotation matrix from a quaternion.

XMMatrixRotationRollPitchYaw

Builds a rotation matrix based on a given pitch, yaw, and roll (Euler angles).

XMMatrixRotationRollPitchYawFromVector

Builds a rotation matrix based on a vector containing the Euler angles (pitch, yaw, and roll).

XMMatrixRotationX

Builds a matrix that rotates around the x-axis.

XMMatrixRotationY

Builds a matrix that rotates around the y-axis.

XMMatrixRotationZ

Builds a matrix that rotates around the z-axis.

XMMatrixScaling

Builds a matrix that scales along the x-axis, y-axis, and z-axis.

XMMatrixScalingFromVector

Builds a matrix that scales along the x-axis, y-axis, and z-axis.

XMMatrixSet

Creates a matrix with float values.

XMMatrixShadow

Builds a transformation matrix that flattens geometry into a plane.

XMMatrixTransformation

Builds a transformation matrix.

XMMatrixTransformation2D

Builds a 2D transformation matrix.

XMMatrixTranslation

Builds a translation matrix from the specified offsets.

XMMatrixTranslationFromVector

Builds a translation matrix from a vector.

XMMatrixTranspose

Computes the transpose of a matrix.