iOS Guides | Samples

OpenTK.Functions Class

Contains mathematical functions for the OpenTK.Math toolkit.

See Also: Functions

Syntax

[System.Obsolete("Use OpenTK.MathHelper instead.")]
public static class Functions

Requirements

Namespace: OpenTK
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.Functions are listed below.

See Also: Object

Public Fields

static readonly
DTORDouble.
static readonly
DTORFSingle.
static readonly
PIDouble.
static readonly
PIFSingle.
static readonly
RTODDouble.
static readonly
RTODFSingle.

Public Methods

static
BinomialCoefficient(Int32, Int32) : Int64
Calculates the binomial coefficient n above k.
static
DegreesToRadians(Single) : Single
Convert degrees to radians
static
Factorial(Int32) : Int64
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(Single) : Single
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(Int32) : Int32
Returns the next power of two that is larger than the specified number.
static
NextPowerOfTwo(Int64) : Int64
Returns the next power of two that is larger than the specified number.
static
NextPowerOfTwo(Single) : Single
Returns the next power of two that is larger than the specified number.
static
RadiansToDegrees(Single) : Single
Convert radians to degrees
static
Swap(ref Double, ref Double)
static
Swap(ref Single, ref Single)