DirectXMath Library 4D vector geometric functions

Lists the 4D vector geometric functions.

In this section

Topic Description
XMVector4AngleBetweenNormals
Compute the radian angle between two normalized 4D vectors.
XMVector4AngleBetweenNormalsEst
Estimates the radian angle between two normalized 4D vectors.
XMVector4AngleBetweenVectors
Compute the radian angle between two 4D vectors.
XMVector4ClampLength
Clamps the length of a 4D vector to a given range.
XMVector4ClampLengthV
Clamps the length of a 4D vector to a given range.
XMVector4Cross
Computes the 4D cross product.
XMVector4Dot
Computes the dot product between 4D vectors.
XMVector4InBounds
Tests whether the components of a 4D vector are within set bounds.
XMVector4Length
Computes the length of a 4D vector.
XMVector4LengthEst
Estimates the length of a 4D vector.
XMVector4LengthSq
Computes the square of the length of a 4D vector.
XMVector4Normalize
Returns the normalized version of a 4D vector.
XMVector4NormalizeEst
Estimates the normalized version of a 4D vector.
XMVector4Orthogonal
Computes a vector perpendicular to a 4D vector.
XMVector4ReciprocalLength
Computes the reciprocal of the length of a 4D vector.
XMVector4ReciprocalLengthEst
Estimates the reciprocal of the length of a 4D vector.
XMVector4Reflect
Reflects an incident 4D vector across a 4D normal vector.
XMVector4Refract
Refracts an incident 4D vector across a 4D normal vector.
XMVector4RefractV
Refracts an incident 4D vector across a 4D normal vector.

 

DirectXMath Library 4D Vector Functions