package
4.1.1
Repository: https://github.com/oakmound/oak.git
Documentation: pkg.go.dev

# Functions

Distance2 calculates the euclidean distance between two points, as two (x,y) pairs.
Distance3 calculates the euclidean distance between two points, as two (x,y,z) triplets.
NewBoundingRect2 will produce the minimal rectangle that contains all of the input points.
NewBoundingRect3 will produce the minimal rectangle that contains all of the input points.
NewRect2 returns an (X,Y):(X2,Y2) rectangle.
NewRect2WH returns an (X,Y):(X+W,Y+H) rectangle.
NewRect3 returns an (X,Y,Z):(X2,Y2,Z2) rectangle.
NewRect3WH returns an (X,Y,Z):(X+W,Y+H,Z+D) rectangle.

# Variables

Dir2 values.
Dir2 values.
Dir2 values.
Dir2 values.
Dir2 values.
Dir2 values.
Dir2 values.
Dir2 values.

# Structs

A Rect2 represents a span from one point in 2D space to another.
A Rect3 represents a span from one point in 3D space to another.

# Type aliases

Dir2 is a helper type for representing points as directions.
Point2 represents a 2D point in space.
Point3 represents a 3D point in space.