Dibujar linea en libgdx

Tue, Jan8, 2013

ShapeRenderer shapeRenderer = new ShapeRenderer(); shapeRenderer.begin(ShapeType.Line); shapeRenderer.setColor(1, 1, 0, 1); shapeRenderer.line(x1, y1, x2, y2); shapeRenderer.end();

|

Home