| GLMathfSign Method (Single) |
Returns the sign function evaluated at the given value.
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static int Sign(
float x
)
Parameters
- x
- Type: SystemSingle
Return Value
Type:
Int321 if the given value is positive, -1 if it is negative, and 0 if it is 0.
See Also