Function directx_math::XMVector3Length[][src]

pub fn XMVector3Length(V: FXMVECTOR) -> FXMVECTOR

Computes the length of a 3D vector.

Parameters

V 3D vector.

Return value

Returns a vector. The length of V is replicated into each component.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector3Length