public class Functions
extends java.lang.Object
Constructor and Description |
---|
Functions() |
Modifier and Type | Method and Description |
---|---|
static int |
roundUpToPowerOf2(int n)
returns the smallest power of 2 above n, see http://en.wikipedia.org/wiki/Power_of_two
|
static double |
toDeg(double alpha) |
static double |
toRad(double alpha) |