|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.common.MathUtils
public class MathUtils
Constructor Summary | |
---|---|
MathUtils()
|
Method Summary | |
---|---|
static float |
clamp(float a,
float low,
float high)
|
static Vec2 |
clamp(Vec2 a,
Vec2 low,
Vec2 high)
|
static boolean |
isPowerOfTwo(int x)
|
static int |
nextPowerOfTwo(int x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathUtils()
Method Detail |
---|
public static final float clamp(float a, float low, float high)
public static final Vec2 clamp(Vec2 a, Vec2 low, Vec2 high)
public static final int nextPowerOfTwo(int x)
public static final boolean isPowerOfTwo(int x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |