Searched refs:nextRandomInt (Results 1 – 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterMeshFaceShape.java | 60 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); in getRandomPoint() 62 int vertIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() / 3 - 1) * 3; in getRandomPoint() 83 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); in getRandomPointAndNormal() 85 int faceIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() / 3 - 1); in getRandomPointAndNormal()
|
D | EmitterMeshVertexShape.java | 89 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); in getRandomPoint() 90 int vertIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() - 1); in getRandomPoint() 104 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); in getRandomPointAndNormal() 105 int vertIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() - 1); in getRandomPointAndNormal()
|
/external/jmonkeyengine/engine/src/test/jme3test/games/ |
D | CubeField.java | 181 float x = FastMath.nextRandomInt(playerX + difficulty + 30, playerX + difficulty + 90); in randomizeCube() 182 float z = FastMath.nextRandomInt(playerZ - difficulty - 50, playerZ + difficulty + 50); in randomizeCube() 191 … mat.setColor("Color", obstacleColors.get(FastMath.nextRandomInt(0, obstacleColors.size() - 1))); in randomizeCube()
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | FastMath.java | 792 public static int nextRandomInt(int min, int max) { in nextRandomInt() method in FastMath 796 public static int nextRandomInt() { in nextRandomInt() method in FastMath
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticleEmitter.java | 833 …p.imageIndex = FastMath.nextRandomInt(0, imagesY - 1) * imagesX + FastMath.nextRandomInt(0, images… in emitParticle()
|