Table of Contents

Class CustomMathF

Namespace
Alis.Core.Aspect.Math
Assembly
Alis.dll

The math class

public static class CustomMathF

Inheritance

Inherited Members

Fields

E

Represents the natural logarithmic base, specified by the constant, e.

public const float E = 2.7182817

Field Value

float

MaxIterations

The max iterations

private const int MaxIterations = 10

Field Value

int

Pi

Represents the ratio of the circumference of a circle to its diameter, specified by the constant, p.

public const float Pi = 3.1415927

Field Value

float

Tau

Represents the number of radians in one turn, specified by the constant, τ.

public const float Tau = 6.2831855

Field Value

float

Methods

Abs(float)

Abs the value

public static float Abs(float value)

Parameters

value float

The value

Returns

float

The float

Acos(float)

Acos the x

public static float Acos(float x)

Parameters

x float

The

Returns

float

The angle

Cos(float)

Coses the x

public static float Cos(float x)

Parameters

x float

The

Returns

float

The result

Max(int, int)

Maxes the val 1

public static int Max(int val1, int val2)

Parameters

val1 int

The val

val2 int

The val

Returns

int

The int

Max(float, float)

Maxes the val 1

public static float Max(float val1, float val2)

Parameters

val1 float

The val

val2 float

The val

Returns

float

The float

Min(int, int)

Mins the y 3

public static int Min(int y3, int y4)

Parameters

y3 int

The

y4 int

The

Returns

int

The int

Min(float, float)

Mins the y 3

public static float Min(float y3, float y4)

Parameters

y3 float

The

y4 float

The

Returns

float

The float

Sin(float)

Sins the x

public static float Sin(float x)

Parameters

x float

The

Returns

float

The result

Sqrt(float)

Sqrt the x

public static float Sqrt(float x)

Parameters

x float

The

Returns

float

The float