Class Math.Constants
Constants.
Inherited Members
Namespace: Unity.Physics
Syntax
public static class 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-07F
Field Value
Type | Description |
---|---|
Single |
OneOverTau
1.0f / Tau.
Declaration
public const float OneOverTau = 0.159154937F
Field Value
Type | Description |
---|---|
Single |
Tau
Tau.
Declaration
public const float Tau = 6.28318548F
Field Value
Type | Description |
---|---|
Single |
UnityEpsilon
This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.
Declaration
public const float UnityEpsilon = 1E-05F
Field Value
Type | Description |
---|---|
Single |
UnityEpsilonNormalSqrt
This constant is identical to the one in the Unity Mathf library, to ensure identical behaviour.
Declaration
public const float UnityEpsilonNormalSqrt = 1E-15F
Field Value
Type | Description |
---|---|
Single |