pub fn XMVector3ComponentsFromNormal(
pParallel: &mut XMVECTOR,
pPerpendicular: &mut XMVECTOR,
V: FXMVECTOR,
Normal: FXMVECTOR,
)
Expand description
Using a reference normal vector, splits a 3D vector into components that are parallel and perpendicular to the normal.
§Parameters
pParallel
Address of the component of V
that is parallel to Normal.
pPerpendicular
Address of the component of V
that is perpendicular to Normal.
V
3D vector to break into components.
Normal
3D reference normal vector.
§Return value
None.