Method b3GetLengthAndNormalize
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3GetLengthAndNormalize(out float, Vector3)
Normalizes a vector and reports its original length.
public static Vector3 b3GetLengthAndNormalize(out float length, Vector3 a)Parameters
Returns
- Vector3
-
The unit vector, or the zero vector if the input is very small.