Searched defs:maxLod (Results 1 - 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainPatch.java70 * The LOD value is most detailed at zero. It gets less detailed the higher the LOD value until you reach maxLod, which
84 private int maxLod = -1; field in class:TerrainPatch
224 if (maxLod < 0)
225 maxLod = Math.max(1, (int) (FastMath.log(size-1)/FastMath.log(2)) -1); // -1 forces our minimum of 4 triangles wide
227 return maxLod;
676 maxLod = -1; // reset it
H A DTerrainQuad.java114 private int maxLod = -1; field in class:TerrainQuad
1789 if (maxLod < 0)
1790 maxLod = Math.max(1, (int) (FastMath.log(size-1)/FastMath.log(2)) -1); // -1 forces our minimum of 4 triangles wide
1792 return maxLod;

Completed in 114 milliseconds