HomeSort by relevance Sort by last modified time
    Searched refs:GridPoint2 (Results 1 - 3 of 3) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/math/
GridPoint2.java 24 public class GridPoint2 implements Serializable {
31 public GridPoint2 () {
38 public GridPoint2 (int x, int y) {
46 public GridPoint2 (GridPoint2 point) {
56 public GridPoint2 set (GridPoint2 point) {
68 public GridPoint2 set (int x, int y) {
78 public float dst2 (GridPoint2 other) {
101 public float dst (GridPoint2 other)
    [all...]
Bresenham2.java 29 private final Array<GridPoint2> points = new Array<GridPoint2>();
30 private final Pool<GridPoint2> pool = new Pool<GridPoint2>() {
32 protected GridPoint2 newObject () {
33 return new GridPoint2();
37 /** Returns a list of {@link GridPoint2} instances along the given line, at integer coordinates.
41 public Array<GridPoint2> line (GridPoint2 start, GridPoint2 end) {
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
Bresenham2Test.java 27 import com.badlogic.gdx.math.GridPoint2;
41 for (GridPoint2 point : bresenham.line(0, 0, 512, 512))
43 for (GridPoint2 point : bresenham.line(512, 0, 0, 512))
45 for (GridPoint2 point : bresenham.line(0, 0, 512, 256))
47 for (GridPoint2 point : bresenham.line(512, 0, 0, 256))

Completed in 123 milliseconds