프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CosLUT | float[] | ||
PIHALF | float | ||
PIQUARTER | float | ||
SinLUT | float[] |
메소드 | 설명 | |
---|---|---|
Clamp ( float value, float min, float max ) : float | ||
Equals ( float a, float b ) : bool |
checks if two numbers are equal with a small margin of error
|
|
FastCos ( float angle ) : float |
Fast cosinus calculation with a look up table. Note that it is less accurate than Math.Cos; the largest error is around 0.3 degrees;
|
|
FastSin ( float angle ) : float |
Fast sinus calculation with a look up table. Note that it is less accurate than Math.Sin; the largest error is around 0.3 degrees
|
|
NextPowerOfTwo ( float number ) : int | ||
NextPowerOfTwo ( int number ) : int |
메소드 | 설명 | |
---|---|---|
NumberUtil ( ) : System |
public static Clamp ( float value, float min, float max ) : float | ||
value | float | |
min | float | |
max | float | |
리턴 | float |