| static Align(int, int) |
|
| static Atan(float) |
Faster Atan implementation. Good only in the [-pi/2, pi/2] range. |
| static Atan(double) |
Faster Atan implementation. Good only in the [-pi/2, pi/2] range. |
| static Barycentric(float, float, float, float, float) |
Returns the Cartesian coordinate for one axis of a point that is defined by a given triangle and two normalized barycentric (areal) coordinates. |
| static CalculateBezierPoint(double, Vector3D, Vector3D, Vector3D, Vector3D) |
|
| static CalculateVectorOnSphere(Vector3, float, float) |
|
| static CatmullRom(float, float, float, float, float) |
Performs a Catmull-Rom interpolation using the specified positions. |
| static CeilToInt(float) |
|
| static CeilToInt(double) |
|
| static Clamp(float, float, float) |
Restricts a value to be within a specified range. Reference page contains links to related code samples. |
| static Clamp(double, double, double) |
Restricts a value to be within a specified range. Reference page contains links to related code samples. |
| static Clamp(MyFixedPoint, MyFixedPoint, MyFixedPoint) |
Restricts a value to be within a specified range. Reference page contains links to related code samples. |
| static Clamp(int, int, int) |
Restricts a value to be within a specified range. Reference page contains links to related code samples. |
| static Clamp(byte, byte, byte) |
Restricts a value to be within a specified range. |
| static ComputeHashFromBytes(Byte[]) |
|
| static CubicInterp(double, double, double, double, double) |
|
| static Distance(float, float) |
Calculates the absolute value of the difference of two values. |
| static Floor(float) |
|
| static Floor(double) |
|
| static FloorToInt(float) |
|
| static FloorToInt(double) |
|
| static GetNearestBiggerPowerOfTwo(int) |
|
| static GetNearestBiggerPowerOfTwo(uint) |
|
| static GetNearestBiggerPowerOfTwo(float) |
Returns nearest bigger power of two |
| static GetNearestBiggerPowerOfTwo(double) |
|
| static GetNumberOfMipmaps(int) |
|
| static Hermite(float, float, float, float, float) |
Performs a Hermite spline interpolation. |
| static InterpLog(float, float, float) |
Performs interpolation on logarithmic scale. |
| static InterpLogInv(float, float, float) |
|
| static IsEqual(float, float) |
|
| static IsEqual(Vector2, Vector2) |
|
| static IsEqual(Vector3, Vector3) |
|
| static IsEqual(Quaternion, Quaternion) |
|
| static IsEqual(QuaternionD, QuaternionD) |
|
| static IsEqual(Matrix, Matrix) |
|
| static IsPowerOfTwo(int) |
Returns true if value is power of two |
| static IsValid(Matrix) |
|
| static IsValid(MatrixD) |
|
| static IsValid(Vector3) |
|
| static IsValid(Vector3D) |
|
| static IsValid(Vector2) |
|
| static IsValid(float) |
|
| static IsValid(double) |
|
| static IsValid(Vector3?) |
|
| static IsValid(Quaternion) |
|
| static IsValidNormal(Vector3) |
|
| static IsValidOrZero(Matrix) |
|
| static IsZero(float, float) |
|
| static IsZero(double, float) |
|
| static IsZero(Vector3, float) |
|
| static IsZero(Vector3D, float) |
|
| static IsZero(Quaternion, float) |
|
| static IsZero(Vector4) |
|
| static Lerp(float, float, float) |
Linearly interpolates between two values. |
| static Lerp(double, double, double) |
Linearly interpolates between two values. |
| static LimitRadians(ref float) |
Returns angle in range 0..2*PI |
| static LimitRadians2PI(ref double) |
Returns angle in range 0..2*PI |
| static LimitRadiansPI(ref double) |
Returns angle in range -PI..PI |
| static LimitRadiansPI(ref float) |
Returns angle in range -PI..PI |
| static Log2(int) |
|
| static Log2(uint) |
|
| static Log2Ceiling(int) |
|
| static Log2Floor(int) |
|
| static Max(float, float) |
Returns the greater of two values. |
| static Max(double, double) |
Returns the greater of two values. |
| static Max(float, float, float) |
|
| static Max(int, int, int) |
|
| static Max(double, double, double) |
|
| static Min(float, float) |
Returns the lesser of two values. |
| static Min(double, double) |
Returns the lesser of two values. |
| static Min(float, float, float) |
|
| static Min(double, double, double) |
|
| static MonotonicAcos(float) |
|
| static MonotonicCosine(float) |
Calculate the monotonic cosine of a value. Monotonic cosine is an alternative cosine encoding that is monotonic in the [-pi, pi] interval. We use this when some parameter of an onject in a planet is constrained by latitude. The 'monotonicity' is guaranteed by subtracting the cosine value from 2 if the angle is positive. So for instance MonotonicCos(pi/2) = 2. This only works in the above interval of course. |
| static Pow2(int) |
Returns 2^n |
| static RoundOn2(float) |
|
| static RoundToInt(float) |
|
| static RoundToInt(double) |
|
| static Saturate(float) |
|
| static Saturate(double) |
|
| static SCurve3(float) |
|
| static SCurve3(double) |
|
| static SCurve5(float) |
|
| static SCurve5(double) |
|
| static Smooth(int, int) |
|
| static Smooth(float, float) |
|
| static SmoothStep(float, float, float) |
Interpolates between two values using a cubic equation. |
| static SmoothStep(double, double, double) |
Interpolates between two values using a cubic equation. |
| static SmoothStepStable(float) |
Interpolates between zero and one using cubic equiation, solved by de Casteljau. |
| static SmoothStepStable(double) |
Interpolates between zero and one using cubic equiation, solved by de Casteljau. |
| static ToDegrees(float) |
Converts radians to degrees. |
| static ToDegrees(double) |
|
| static ToRadians(float) |
Converts degrees to radians. |
| static ToRadians(Vector3) |
|
| static ToRadians(double) |
Converts degrees to radians. |
| static WrapAngle(float) |
Reduces a given angle to a value between π and -π. |