Class Math.Constants
Constants.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public static class Math.Constants
Fields
Eps
Smallest float such that 1.0 + eps != 1.0 Different from float.Epsilon which is the smallest value greater than zero.
Declaration
public const float Eps = 1.1920929E-07
Field Value
Type | Description |
---|---|
float |
OneOverTau
1.0f / Tau.
Declaration
public const float OneOverTau = 0.15915494
Field Value
Type | Description |
---|---|
float |
Tau
Tau.
Declaration
public const float Tau = 6.2831855
Field Value
Type | Description |
---|---|
float |
UnityEpsilon
This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.
Declaration
public const float UnityEpsilon = 1E-05
Field Value
Type | Description |
---|---|
float |
UnityEpsilonNormalSqrt
This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.
Declaration
public const float UnityEpsilonNormalSqrt = 1E-15
Field Value
Type | Description |
---|---|
float |