Package zombie.worldMap
Class WorldMapVBOs
java.lang.Object
zombie.worldMap.WorldMapVBOs
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElement
(float x, float y, float z, float r, float g, float b, float a) void
create()
void
drawElements
(int mode, int index1, int index2, int count) static WorldMapVBOs
void
reserveVertices
(int numVertices, int[] indices) void
reset()
-
Field Details
-
NUM_ELEMENTS
public static final int NUM_ELEMENTS- See Also:
-
-
Constructor Details
-
WorldMapVBOs
public WorldMapVBOs()
-
-
Method Details
-
getInstance
-
create
public void create() -
reserveVertices
public void reserveVertices(int numVertices, int[] indices) -
addElement
public void addElement(float x, float y, float z, float r, float g, float b, float a) -
drawElements
public void drawElements(int mode, int index1, int index2, int count) -
reset
public void reset()
-