Package | Description |
---|---|
com.badlogic.gdx.math |
Modifier and Type | Method and Description |
---|---|
GridPoint2 |
GridPoint2.set(GridPoint2 point)
Sets the coordinates of this 2D grid point to that of another.
|
GridPoint2 |
GridPoint2.set(int x,
int y)
Sets the coordinates of this 2D grid point.
|
Modifier and Type | Method and Description |
---|---|
Array<GridPoint2> |
Bresenham2.line(GridPoint2 start,
GridPoint2 end)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
Array<GridPoint2> |
Bresenham2.line(int startX,
int startY,
int endX,
int endY)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
Array<GridPoint2> |
Bresenham2.line(int startX,
int startY,
int endX,
int endY,
Pool<GridPoint2> pool,
Array<GridPoint2> output)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
Modifier and Type | Method and Description |
---|---|
Array<GridPoint2> |
Bresenham2.line(GridPoint2 start,
GridPoint2 end)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
GridPoint2 |
GridPoint2.set(GridPoint2 point)
Sets the coordinates of this 2D grid point to that of another.
|
Modifier and Type | Method and Description |
---|---|
Array<GridPoint2> |
Bresenham2.line(int startX,
int startY,
int endX,
int endY,
Pool<GridPoint2> pool,
Array<GridPoint2> output)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
Array<GridPoint2> |
Bresenham2.line(int startX,
int startY,
int endX,
int endY,
Pool<GridPoint2> pool,
Array<GridPoint2> output)
Returns a list of
GridPoint2 instances along the given line, at integer coordinates. |
Constructor and Description |
---|
GridPoint2(GridPoint2 point)
Copy constructor
|