Home
last modified time | relevance | path

Searched refs:terrainPatch (Results 1 – 6 of 6) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DDistanceLodCalculator.java65 …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 …]
DLodCalculatorFactory.java47 public LodCalculator createCalculator(TerrainPatch terrainPatch); in createCalculator() argument
DLodCalculator.java50 …public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String,Up… in calculateLod() argument
DLodPerspectiveCalculatorFactory.java61 public LodCalculator createCalculator(TerrainPatch terrainPatch) { in createCalculator() argument
DLodDistanceCalculatorFactory.java64 public LodCalculator createCalculator(TerrainPatch terrainPatch) { in createCalculator() argument
DPerspectiveLodCalculator.java81 …public boolean calculateLod(TerrainPatch terrainPatch, List<Vector3f> locations, HashMap<String, U… in calculateLod() argument