ShapeRenderer.java | 42 * shapeRenderer.begin(ShapeType.Line);
44 * shapeRenderer.line(x, y, x2, y2);
62 * shapeRenderer.begin(ShapeType.Line);
82 Point(GL20.GL_POINTS), Line(GL20.GL_LINES), Filled(GL20.GL_TRIANGLES);
199 begin(ShapeType.Line);
224 /** Draws a point using {@link ShapeType#Point}, {@link ShapeType#Line} or {@link ShapeType#Filled}. */
226 if (shapeType == ShapeType.Line) {
228 line(x - size, y - size, z, x + size, y + size, z);
240 /** Draws a line using {@link ShapeType#Line} or {@link ShapeType#Filled}. */ 241 public final void line (float x, float y, float z, float x2, float y2, float z2) { method in class:ShapeRenderer 242 line(x, y, z, x2, y2, z2, color, color); method 246 public final void line (Vector3 v0, Vector3 v1) { method in class:ShapeRenderer 247 line(v0.x, v0.y, v0.z, v1.x, v1.y, v1.z, color, color); method 251 public final void line (float x, float y, float x2, float y2) { method in class:ShapeRenderer 252 line(x, y, 0.0f, x2, y2, 0.0f, color, color); method 256 public final void line (Vector2 v0, Vector2 v1) { method in class:ShapeRenderer 257 line(v0.x, v0.y, 0.0f, v1.x, v1.y, 0.0f, color, color); method 261 public final void line (float x, float y, float x2, float y2, Color c1, Color c2) { method in class:ShapeRenderer 262 line(x, y, 0.0f, x2, y2, 0.0f, c1, c2); method 267 public void line (float x, float y, float z, float x2, float y2, float z2, Color c1, Color c2) { method in class:ShapeRenderer [all...] |