Package playn.core
Class GLUtil
java.lang.Object
playn.core.GLUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
nextPowerOfTwo
(int x) Returns the next largest power of two, or zero if x is already a power of two.
-
Constructor Details
-
GLUtil
public GLUtil()
-
-
Method Details
-
nextPowerOfTwo
public static int nextPowerOfTwo(int x) Returns the next largest power of two, or zero if x is already a power of two.
-