Searched refs:terrainPatch (Results 1 – 6 of 6) sorted by relevance
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
D | DistanceLodCalculator.java | 65 …public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String, U… in calculateLod() argument 66 float distance = getCenterLocation(terrainPatch).distance(locations.get(0)); in calculateLod() 71 int prevLOD = terrainPatch.getLod(); in calculateLod() 72 UpdatedTerrainPatch utp = updates.get(terrainPatch.getName()); in calculateLod() 74 utp = new UpdatedTerrainPatch(terrainPatch, 0); in calculateLod() 84 for (int i = 0; i <= terrainPatch.getMaxLod(); i++) { in calculateLod() 85 …if (distance < getLodDistanceThreshold() * (i + 1)*terrainPatch.getWorldScale().x || i == terrainP… in calculateLod() 87 if (i != terrainPatch.getLod()) { in calculateLod() 91 int prevLOD = terrainPatch.getLod(); in calculateLod() 94 UpdatedTerrainPatch utp = updates.get(terrainPatch.getName()); in calculateLod() [all …]
|
D | LodCalculatorFactory.java | 47 public LodCalculator createCalculator(TerrainPatch terrainPatch); in createCalculator() argument
|
D | LodCalculator.java | 50 …public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String,Up… in calculateLod() argument
|
D | LodPerspectiveCalculatorFactory.java | 61 public LodCalculator createCalculator(TerrainPatch terrainPatch) { in createCalculator() argument
|
D | LodDistanceCalculatorFactory.java | 64 public LodCalculator createCalculator(TerrainPatch terrainPatch) { in createCalculator() argument
|
D | PerspectiveLodCalculator.java | 81 …public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String, U… in calculateLod() argument
|