Method | Description | |
---|---|---|
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 | |
return | double |
public static Clamp ( int value, int min, int max ) : int | ||
value | int | |
min | int | |
max | int | |
return | int |
public static Distance ( float value1, float value2 ) : float | ||
value1 | float | |
value2 | float | |
return | float |
public static Distance ( int value1, int value2 ) : int | ||
value1 | int | |
value2 | int | |
return | 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 | |
return | double |
public static ToDegree ( double radians ) : double | ||
radians | double | |
return | double |
public static ToRadian ( double degrees ) : double | ||
degrees | double | |
return | double |