DirectXMath Library 3D Vector Geometric Functions

Lists the 3D vector geometric functions.

In this section

Topic Description
XMVector3AngleBetweenNormals
Computes the radian angle between two normalized 3D vectors.
XMVector3AngleBetweenNormalsEst
Estimates the radian angle between two normalized 3D vectors.
XMVector3AngleBetweenVectors
Computes the radian angle between two 3D vectors.
XMVector3ClampLength
Clamps the length of a 3D vector to a given range.
XMVector3ClampLengthV
Clamps the length of a 3D vector to a given range.
XMVector3ComponentsFromNormal
Using a reference normal vector, splits a 3D vector into components that are parallel and perpendicular to the normal.
XMVector3Cross
Computes the cross product between two 3D vectors.
XMVector3Dot
Computes the dot product between 3D vectors.
XMVector3InBounds
Tests whether the components of a 3D vector are within set bounds.
XMVector3Length
Computes the length of a 3D vector.
XMVector3LengthEst
Estimates the length of a 3D vector.
XMVector3LengthSq
Computes the square of the length of a 3D vector.
XMVector3LinePointDistance
Computes the minimum distance between a line and a point.
XMVector3Normalize
Returns the normalized version of a 3D vector.
XMVector3NormalizeEst
Estimates the normalized version of a 3D vector.
XMVector3Orthogonal
Computes a vector perpendicular to a 3D vector.
XMVector3ReciprocalLength
Computes the reciprocal of the length of a 3D vector.
XMVector3ReciprocalLengthEst
Estimates the reciprocal of the length of a 3D vector.
XMVector3Reflect
Reflects an incident 3D vector across a 3D normal vector.
XMVector3Refract
Refracts an incident 3D vector across a 3D normal vector.
XMVector3RefractV
Refracts an incident 3D vector across a 3D normal vector.

 

DirectXMath Library 3D Vector Functions