Properties
Static
TwoPi
TwoPi: number = ...
Methods
Static
Clamp
- Clamp(value: number, min: number, max: number): number
-
Parameters
-
value: number
-
min: number
-
max: number
Returns number
Static
Lerp
- Lerp(start: number, end: number, gradient: number): number
-
Parameters
-
start: number
-
end: number
-
gradient: number
Returns number
Static
NormalizeRadians
- NormalizeRadians(rad: number): number
-
Returns number
Static
RandomRange
- RandomRange(min: number, max: number): number
-
Returns number
Static
WithinEpsilon
- WithinEpsilon(a: number, b: number, epsilon?: number): boolean
-
Parameters
-
a: number
-
b: number
-
epsilon: number = 1e-8
Returns boolean
标量辅助计算类。