MonoMac.OpenGL.MathHelper Members

The members of MonoMac.OpenGL.MathHelper are listed below.

See Also: Inherited members from System.Object

Public Fields

const
Efloat (2.718282). Defines the value of E as a float.
const
Log10Efloat (0.4342945). Defines the base-10 logarithm of E.
const
Log2Efloat (1.442695). Defines the base-2 logarithm of E.
const
Pifloat (3.141593). Defines the value of Pi as a float.
const
PiOver2float (1.570796). Defines the value of Pi divided by two as a float.
const
PiOver3float (1.047198). Defines the value of Pi divided by three as a float.
const
PiOver4float (0.7853982). Definesthe value of Pi divided by four as a float.
const
PiOver6float (0.5235988). Defines the value of Pi divided by six as a float.
const
ThreePiOver2float (4.712389). Defines the value of Pi multiplied by 3 and divided by two as a float.
const
TwoPifloat (6.283185). Defines the value of Pi multiplied by two as a float.

Public Methods

static
BinomialCoefficient(int, int) : long
Calculates the binomial coefficient n above k.
static
DegreesToRadians(double) : double
Convert degrees to radians
static
DegreesToRadians(float) : float
Convert degrees to radians
static
Factorial(int) : long
Calculates the factorial of a given natural number.
static
InverseSqrtFast(double) : double
Returns an approximation of the inverse square root of left number.
static
InverseSqrtFast(float) : float
Returns an approximation of the inverse square root of left number.
static
NextPowerOfTwo(double) : double
Returns the next power of two that is larger than the specified number.
static
NextPowerOfTwo(int) : int
Returns the next power of two that is larger than the specified number.
static
NextPowerOfTwo(long) : long
Returns the next power of two that is larger than the specified number.
static
NextPowerOfTwo(float) : float
Returns the next power of two that is larger than the specified number.
static
RadiansToDegrees(double) : double
Convert radians to degrees
static
RadiansToDegrees(float) : float
Convert radians to degrees
static
Swap(ref double, ref double)
Swaps two double values.
static
Swap(ref float, ref float)
Swaps two float values.