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

# Functions

AngleVector creates a unit vector by the cosine and sine of the given angle in degrees.
DefaultForceVector returns a force vector that converts the mass given into a force float.
MaxVector returns whichever vector has a greater magnitude.
NewForceVector returns a force vector.
NewVector returns a vector with the given x and y components.
NewVector32 accepts float32s (and will cast them to float64s), to create a vector.
PtrVector takes in pointers as opposed to float values-- these same pointers will be used in the returned vector and by attachments to that vector.
Push applies the force from the pushing object its target.

# Constants

CUTOFF is used for rounding after floating point operations to zero out vector values that are sufficiently close to zero.

# Structs

ForceVector is a vector that has some force and can operate on entites with mass.
A Mass can have forces applied against it.
A Vector is a two-dimensional point or vector used throughout oak to maintain functionality between packages.

# Interfaces

An Attachable can be attached to static or moving vectors.
Pushable is implemented by anything that has mass and directional movement, and therefore can be pushed.
A Pushes can push Pushable things through its associated ForceVector, or how hard the Pushable should move in a given direction.
A Vecer can be converted into a Vector.