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