Home
last modified time | relevance | path

Searched refs:nearestPowerOfTwo (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java64 int potWidth = FastMath.nearestPowerOfTwo(image.getWidth()); in resizeToPowerOf2()
65 int potHeight = FastMath.nearestPowerOfTwo(image.getHeight()); in resizeToPowerOf2()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java94 width = FastMath.nearestPowerOfTwo(width); in uploadTextureBitmap()
95 height = FastMath.nearestPowerOfTwo(height); in uploadTextureBitmap()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java90 public static int nearestPowerOfTwo(int number) { in nearestPowerOfTwo() method in FastMath