Whether the vector has length approximately equal to 1.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static bool IsUnitVector(
Vector3 v,
float epsilon = 1E-05f
)
Parameters
- v Vector3
- The vector.
- epsilon Single (Optional)
- The tolerance.
Return Value
BooleanTrue if the vector has unit length within the specified tolerance, false otherwise.
See Also