Метод | Описание | |
---|---|---|
Clamp ( double value, double min, double max ) : double | ||
Clamp ( int value, int min, int max ) : int | ||
Distance ( float value1, float value2 ) : float | ||
Distance ( int value1, int value2 ) : int | ||
Interpolate ( double value, double fMin, double fMax, double tMin, double tMax ) : double | ||
ToDegree ( double radians ) : double | ||
ToRadian ( double degrees ) : double |
public static Clamp ( double value, double min, double max ) : double | ||
value | double | |
min | double | |
max | double | |
Результат | double |
public static Clamp ( int value, int min, int max ) : int | ||
value | int | |
min | int | |
max | int | |
Результат | int |
public static Distance ( float value1, float value2 ) : float | ||
value1 | float | |
value2 | float | |
Результат | float |
public static Distance ( int value1, int value2 ) : int | ||
value1 | int | |
value2 | int | |
Результат | int |
public static Interpolate ( double value, double fMin, double fMax, double tMin, double tMax ) : double | ||
value | double | |
fMin | double | |
fMax | double | |
tMin | double | |
tMax | double | |
Результат | double |
public static ToDegree ( double radians ) : double | ||
radians | double | |
Результат | double |
public static ToRadian ( double degrees ) : double | ||
degrees | double | |
Результат | double |