public class Vertices
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.nio.FloatBuffer |
allocateBuffer(int size) |
static void |
drawPoints(GL10 gl,
java.nio.FloatBuffer vertices,
Color color,
float size) |
static void |
drawTriangleFan(GL10 gl,
java.nio.FloatBuffer vertices,
Color color) |
static java.nio.FloatBuffer |
toFloatBuffer(float[] floats) |
public static java.nio.FloatBuffer allocateBuffer(int size)
public static java.nio.FloatBuffer toFloatBuffer(float[] floats)
public static void drawPoints(GL10 gl, java.nio.FloatBuffer vertices, Color color, float size)
public static void drawTriangleFan(GL10 gl, java.nio.FloatBuffer vertices, Color color)