This commit is contained in:
Hannes Janetzek 2014-01-21 04:41:40 +01:00
parent c027ebdbb4
commit ec69fc7a68

View File

@ -50,7 +50,7 @@ public class ElementLayers {
public RenderElement extrusionLayers; public RenderElement extrusionLayers;
// VBO holds all vertex data to draw lines and polygons // VBO holds all vertex data to draw lines and polygons
// after are compilation. // after compilation.
// Layout: // Layout:
// 16 bytes fill coordinates, // 16 bytes fill coordinates,
// n bytes polygon vertices, // n bytes polygon vertices,
@ -106,7 +106,6 @@ public class ElementLayers {
* Get or add the PolygonLayer for a level. Levels are ordered from * Get or add the PolygonLayer for a level. Levels are ordered from
* bottom (0) to top * bottom (0) to top
*/ */
public PolygonLayer getPolygonLayer(int level) { public PolygonLayer getPolygonLayer(int level) {
return (PolygonLayer) getLayer(level, RenderElement.POLYGON); return (PolygonLayer) getLayer(level, RenderElement.POLYGON);
} }
@ -115,7 +114,6 @@ public class ElementLayers {
* Get or add the TexLineLayer for a level. Levels are ordered from * Get or add the TexLineLayer for a level. Levels are ordered from
* bottom (0) to top * bottom (0) to top
*/ */
public LineTexLayer getLineTexLayer(int level) { public LineTexLayer getLineTexLayer(int level) {
return (LineTexLayer) getLayer(level, RenderElement.TEXLINE); return (LineTexLayer) getLayer(level, RenderElement.TEXLINE);
} }