package
0.9.0
Repository: https://github.com/mindera-gaming/go-math.git
Documentation: pkg.go.dev

# Functions

Down returns a unit vector pointing down in world space.
Left returns a unit vector pointing to the left in world space.
Lerp linearly interpolates between two Vector2, a and b, by amount t.
LerpUnclamped linearly interpolates between two Vector2, a and b, by amount t.
One returns a vector with a value of 1 in both fields, X and Y.
Reflect reflects a vector off the plane defined by a normal.
ReverseSlice reverses a Vector2 slice.
Right returns a unit vector pointing to the right in world space.
Up returns a unit vector pointing up in world space.
Zero returns a vector with a value of 0 in both fields, X and Y.

# Constants

X represents Vector2's X property JSON tag.
Y represents Vector2's Y property JSON tag.

# Structs

Vector2 represents a 2D vector, point or position.