Click or drag to resize
DigitalRuneVector2FClampToZero Method
Clamps near-zero vector components to zero.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public void ClampToZero()
Remarks
Each vector component (X and Y) is compared to zero. If the component is in the interval [-EpsilonF, +EpsilonF] it is set to zero, otherwise it remains unchanged.
See Also