//
pkg.gl
Category
github.com/df-mc/we
geo
package
0.0.0-20221120123556-6250647631b5
Repository:
https://github.com/df-mc/we.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2
Files
66 SLOC
#
Functions
NewArea
NewArea is shorthand for Area{Pos(x0, y0, z0), Pos(x1, y1, z0)}.
#
Structs
Area
Area contains the points with Min.X <= X <= Max.X, Min.Y <= Y <= Max.Y, and Min.Z <= Z <= Max.Z It is well-formed if Min.X <= Max.X and likewise for Y and Z.
Ball
Ball represents the space bounded by a sphere.
Cube
Cube represents a cubical object, which has sides of equal length and width.