Searched refs:lodLevels (Results 1 – 3 of 3) sorted by relevance
228 int lodLevels = 0; in makeLods() local232 if (lodLevels == 0) { in makeLods()233 lodLevels = g.getMesh().getNumLodLevels(); in makeLods()236 lodSize = new int[lodLevels]; in makeLods()238 for (int i = 0; i < lodLevels; i++) { in makeLods()244 int[][] lodData = new int[lodLevels][]; in makeLods()245 for (int i = 0; i < lodLevels; i++) { in makeLods()248 VertexBuffer[] lods = new VertexBuffer[lodLevels]; in makeLods()249 int bufferPos[] = new int[lodLevels]; in makeLods()257 for (int i = 0; i < lodLevels; i++) { in makeLods()[all …]
170 private VertexBuffer[] lodLevels; field in Mesh380 public void setLodLevels(VertexBuffer[] lodLevels){ in setLodLevels() argument381 this.lodLevels = lodLevels; in setLodLevels()389 return lodLevels != null ? lodLevels.length : 0; in getNumLodLevels()405 return lodLevels[lod]; in getLodLevel()706 if (lodLevels != null){ in getTriangleCount()710 if (lod >= lodLevels.length) in getTriangleCount()713 return computeNumElements(lodLevels[lod].getData().capacity()); in getTriangleCount()1282 out.write(lodLevels, "lodLevels", null); in write()1307 lodLevels = new VertexBuffer[lodLevelsSavable.length]; in read()[all …]
111 private IntMap<List<VertexBuffer>> lodLevels = new IntMap<List<VertexBuffer>>(); field in MeshLoader121 lodLevels.clear(); in startDocument()532 List<VertexBuffer> levels = lodLevels.get(index); in startLodFaceList()539 lodLevels.put(index, levels); in startLodFaceList()550 for (Entry<List<VertexBuffer>> entry : lodLevels) { in endLevelOfDetail()