|
|
|
@ -188,7 +188,6 @@ public class TerrainQuad extends Node implements Terrain { |
|
|
|
|
* do the actual update on the opengl thread. |
|
|
|
|
*/ |
|
|
|
|
public void update(List<Vector3f> locations) { |
|
|
|
|
|
|
|
|
|
updateLOD(locations); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -369,9 +368,6 @@ public class TerrainQuad extends Node implements Terrain { |
|
|
|
|
//double duration = (System.currentTimeMillis()-start);
|
|
|
|
|
//System.out.println("terminated in "+duration);
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void setUpdateQuadLODs(HashMap<String,UpdatedTerrainPatch> updated) { |
|
|
|
@ -682,6 +678,7 @@ public class TerrainQuad extends Node implements Terrain { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <code>createQuadBlock</code> creates four child blocks from this page. |
|
|
|
|
*/ |
|
|
|
@ -1532,7 +1529,7 @@ public class TerrainQuad extends Node implements Terrain { |
|
|
|
|
|
|
|
|
|
public boolean isUsingLOD() { |
|
|
|
|
return usingLOD; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int getPatchSize() { |
|
|
|
|
return patchSize; |
|
|
|
|