Click or drag to resize

UtilSnapToZero(Single, Single) Method

If given number is EQ(Double, Double, Double) to 0, make it zero

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static float SnapToZero(
	float v,
	float e
)

Parameters

v  Single
Number to test
e  Single
Epsilon used in comparison

Return Value

Single
Snapped number
See Also