GLMathf Class |
Namespace: Gamelogic.Extensions
[VersionAttribute(1, 4, 0)] public static class GLMathf
The GLMathf type exposes the following members.
Name | Description | |
---|---|---|
Div | Obsolete. | |
FloorDiv |
Floor division that also work for negative m.
| |
FloorMod(Int32, Int32) |
Mod operator that also works for negative m.
| |
FloorMod(Single, Single) |
Mod operator that also works for negative m.
| |
FloorToInt | Obsolete.
Returns the highest integer equal to the given float.
| |
Frac |
Returns the fractional part of a floating point number.
| |
InRange |
Tests whether the given value lies in the half-open interval specified by its endpoints, that is, whether the value
lies in the interval [closedLeft, openRight).
| |
InRange01 |
Tests whether the given value lies in the range [0, 1).
| |
Mod(Int32, Int32) | Obsolete. | |
Mod(Single, Single) | Obsolete. | |
Sign(Int32) |
Returns the sign function evaluated at the given value.
| |
Sign(Single) |
Returns the sign function evaluated at the given value.
| |
Wlerp01 |
Linearly interpolates between two values between 0 and 1 if values wrap around from 1 back to 0.
| |
Wrap01 | Obsolete. |