public class Math2
extends java.lang.Object
Constructor and Description |
---|
Math2() |
Modifier and Type | Method and Description |
---|---|
static double |
clamp(double val,
double min,
double max) |
static float |
clamp(float val,
float min,
float max) |
static int |
clamp(int val,
int min,
int max) |
static long |
clamp(long val,
long min,
long max) |