Click or drag to resize

GLMathf Class

Methods for additional math functions.
Inheritance Hierarchy
SystemObject
  Gamelogic.ExtensionsGLMathf

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 4, 0)]
public static class GLMathf

The GLMathf type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDiv Obsolete.
Public methodStatic memberFloorDiv
Floor division that also work for negative m.
Public methodStatic memberFloorMod(Int32, Int32)
Mod operator that also works for negative m.
Public methodStatic memberFloorMod(Single, Single)
Mod operator that also works for negative m.
Public methodStatic memberFloorToInt Obsolete.
Returns the highest integer equal to the given float.
Public methodStatic memberFrac
Returns the fractional part of a floating point number.
Public methodStatic memberInRange
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).
Public methodStatic memberInRange01
Tests whether the given value lies in the range [0, 1).
Public methodStatic memberMod(Int32, Int32) Obsolete.
Public methodStatic memberMod(Single, Single) Obsolete.
Public methodStatic memberSign(Int32)
Returns the sign function evaluated at the given value.
Public methodStatic memberSign(Single)
Returns the sign function evaluated at the given value.
Public methodStatic memberCode exampleWlerp01
Linearly interpolates between two values between 0 and 1 if values wrap around from 1 back to 0.
Public methodStatic memberWrap01 Obsolete.
Top
Fields
  NameDescription
Public fieldStatic memberSqrt3
Top
See Also