15 lines
200 B
Go
15 lines
200 B
Go
package coords
|
|
|
|
type MapBlockCoords struct {
|
|
X,Y,Z int
|
|
}
|
|
|
|
func NewMapBlockCoords(x,y,z int) MapBlockCoords {
|
|
return MapBlockCoords{X:x, Y:y, Z:z}
|
|
}
|
|
|
|
const (
|
|
MaxCoord = 2047
|
|
MinCoord = -2047
|
|
)
|