Home
last modified time | relevance | path

Searched refs:lodCalculator (Results 1 – 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainLodControl.java73 private LodCalculator lodCalculator; field in TerrainLodControl
84 lodCalculator = new DistanceLodCalculator(65, 2.7f); // a default calculator in TerrainLodControl()
95 lodCalculator = new DistanceLodCalculator(65, 2.7f); // a default calculator in TerrainLodControl()
111 if (lodCalculator == null) in controlUpdate()
118 lodCalculator.turnOffLod(); in controlUpdate()
129 terrain.update(cameraLocations, lodCalculator); in controlUpdate()
142 cloned.setLodCalculator(lodCalculator.clone()); in cloneForSpatial()
175 return lodCalculator; in getLodCalculator()
178 public void setLodCalculator(LodCalculator lodCalculator) { in setLodCalculator() argument
179 this.lodCalculator = lodCalculator; in setLodCalculator()
[all …]
DTerrainQuad.java256 public void update(List<Vector3f> locations, LodCalculator lodCalculator) {
257 updateLOD(locations, lodCalculator);
276 protected void updateLOD(List<Vector3f> locations, LodCalculator lodCalculator) {
280 if (lodCalculator.isLodOff()) {
290 if (lastCameraLocationsTheSame(locations) && !lodCalculator.isLodOff())
311 UpdateLOD updateLodThread = new UpdateLOD(locations, lodCalculator);
421 private LodCalculator lodCalculator;
423 UpdateLOD(List<Vector3f> camLocations, LodCalculator lodCalculator) {
425 this.lodCalculator = lodCalculator;
439 …boolean lodChanged = calculateLod(camLocations, updated, lodCalculator); // 'updated' gets populat…
[all …]
DTerrainGrid.java284 public void update(List<Vector3f> locations, LodCalculator lodCalculator) { in update() argument
304 super.update(locations, lodCalculator); in update()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
DTerrain.java137 public void update(List<Vector3f> location, LodCalculator lodCalculator); in update() argument