public class MathUtils
extends java.lang.Object
Constructor and Description |
---|
MathUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
clamp(double alpha,
double min,
double max) |
static float |
clamp(float alpha,
float min,
float max) |
static double |
clamp01(double alpha) |