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