Interface Point

2D integer point in world or chunk-local coordinates.

The coordinate space is determined by the producing function. By convention, marching-squares output and public APIs use world coordinates; internal chunk math may use chunk-local coordinates.

interface Point {
    x: number;
    y: number;
}

Properties

x y

Properties

x: number

X coordinate.

y: number

Y coordinate.