An x value for this point. Defaults to 0.
A y value for this point. Defaults to 0.
The X value of this point.
The Y value of this point.
Returns a new WorldPosData
object with the same X/Y coordinates.
Returns the distance between this point and the other point.
The other point.
Returns the square distance between this point and the other point.
The other point.
Generated using TypeDoc
Creates a new point at the origin or at the provided, x, y.