TerrainPatch.java | 82 protected LODGeomap geomap;
field in class:TerrainPatch 180 geomap = new LODGeomap(size, heightMap);
181 Mesh m = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false);
193 IntBuffer buf = geomap.writeIndexArrayLodDiff(null, curLod, false, false, false, false);
209 return BufferUtils.createFloatBuffer(geomap.getHeightArray());
213 return geomap.getHeightArray();
243 ib = geomap.writeIndexArrayLodVariable(null, pow, (int) Math.pow(2, utp.getRightLod()), (int) Math.pow(2, utp.getTopLod()), (int) Math.pow(2, utp.getLeftLod()), (int) Math.pow(2, utp.getBottomLod()));
245 ib = geomap.writeIndexArrayLodDiff(null, pow, right, top, left, bottom);
276 return geomap.getTriangleAtPoint(x, z, getWorldScale() , getWorldTranslation());
286 return geomap.getGridTrianglesAtPoint(x, z, getWorldScale() , getWorldTranslation()); [all...] |