Home
last modified time | relevance | path

Searched refs:lodMultiplier (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DSimpleLodThreshold.java55 private float lodMultiplier = 2; field in SimpleLodThreshold
66 public SimpleLodThreshold(int patchSize, float lodMultiplier) { in SimpleLodThreshold() argument
71 return lodMultiplier; in getLodMultiplier()
74 public void setLodMultiplier(float lodMultiplier) { in setLodMultiplier() argument
75 this.lodMultiplier = lodMultiplier; in setLodMultiplier()
88 return size*lodMultiplier; in getLodDistanceThreshold()
94 oc.write(lodMultiplier, "lodMultiplier", 2); in write()
100 lodMultiplier = ic.readInt("lodMultiplier", 2); in read()
107 clone.lodMultiplier = lodMultiplier; in clone()
114 return "SimpleLodThreshold "+size+", "+lodMultiplier; in toString()
DDistanceLodCalculator.java54 private float lodMultiplier = 2; field in DistanceLodCalculator
62 this.lodMultiplier = multiplier; in DistanceLodCalculator()
119 oc.write(lodMultiplier, "lodMultiplier", 32); in write()
125 lodMultiplier = ic.readFloat("lodMultiplier", 2.7f); in read()
130 DistanceLodCalculator clone = new DistanceLodCalculator(size, lodMultiplier); in clone()
136 return "DistanceLodCalculator "+size+"*"+lodMultiplier; in toString()
143 return size*lodMultiplier; in getLodDistanceThreshold()
155 return lodMultiplier; in getLodMultiplier()
158 public void setLodMultiplier(float lodMultiplier) { in setLodMultiplier() argument
159 this.lodMultiplier = lodMultiplier; in setLodMultiplier()