Méthode | Description | |
---|---|---|
FastCos ( float x ) : float |
Calculates the approximate value of cosine function at a given angle. This function is much faster than |
|
FastInvSqrt ( float x ) : float |
Calculates the approximate inverse square root of a given value. This function is much faster than calling |
|
FastIsNaN ( float x ) : bool |
Checks whether the float value is NaN. This function is much faster than calling |
|
FastLog2 ( float x ) : float |
Calculates the approximate log2 of a given value. This function is much faster than |
|
FastPow ( float a, float b ) : float |
Calculates the approximate value of a^b. This function is much faster than |
|
FastPow2 ( float x ) : float |
Calculates the approximate value of 2^x. This function is much faster than |
|
FastPowInt ( float a, int b ) : float |
Calculates the approximate value of a^b. This function is much faster than |
|
FastSin ( float x ) : float |
Calculates the approximate value of sine function at a given angle. This function is much faster than |
|
FastSqrt ( float x ) : float |
Calculates the approximate square root of a given value. This function is much faster than |
|
FastVector3Magnitude ( |
Calculates the approximate magnitude of This function is much faster than |
public static FastCos ( float x ) : float | ||
x | float | /// The angle in radians. /// |
Résultat | float |
public static FastInvSqrt ( float x ) : float | ||
x | float | /// The input value. /// |
Résultat | float |
public static FastIsNaN ( float x ) : bool | ||
x | float | /// The input value to be checked. /// |
Résultat | bool |
public static FastLog2 ( float x ) : float | ||
x | float | /// Input value. /// |
Résultat | float |
public static FastPow ( float a, float b ) : float | ||
a | float | /// The base value. /// |
b | float | /// The power value. /// |
Résultat | float |
public static FastPow2 ( float x ) : float | ||
x | float | /// Input value. /// |
Résultat | float |
public static FastPowInt ( float a, int b ) : float | ||
a | float | /// The base value. /// |
b | int | /// The power value. /// |
Résultat | float |
public static FastSin ( float x ) : float | ||
x | float | /// The angle in radians. /// |
Résultat | float |
public static FastSqrt ( float x ) : float | ||
x | float | /// Input value. /// |
Résultat | float |
public static FastVector3Magnitude ( |
||
vector | /// Input vector. /// | |
Résultat | float |