程序包 com.jackmeng
类 MathF
java.lang.Object
com.jackmeng.MathF
-
构造器概要
-
方法概要
修饰符和类型方法说明static int
binomialCoefficient
(int n, int k) static float
clampWithEpsilon
(float value, float min, float max, float epsilon) static float
exponentialClamp
(float value, float min, float max, float exponent) static float
smoothStepClamp
(float value, float min, float max, float smoothness)
-
构造器详细资料
-
MathF
private MathF()
-
-
方法详细资料
-
binomialCoefficient
public static int binomialCoefficient(int n, int k) -
clampWithEpsilon
public static float clampWithEpsilon(float value, float min, float max, float epsilon) -
exponentialClamp
public static float exponentialClamp(float value, float min, float max, float exponent) -
smoothStepClamp
public static float smoothStepClamp(float value, float min, float max, float smoothness)
-