package
0.0.0-20230518211054-e79130741db5
Repository: https://github.com/achilleasa/polaris.git
Documentation: pkg.go.dev
# Functions
Check if two vectors are equal based on a comparison epsilon.
Create a 3x3 identity matrix.
Create a 4x4 identity matrix.
Generates a transform matrix from world space into the specific eye space.
Calc maxcomponent from two vectors.
Calc min component from two vectors.
Create a perspective projection 4x4 matrix.
Create a quaternion from an axis vector and an angle.
Create identity quaternion.
Create a 4x4 scale matrix.
Create a 4x4 translation matrix.
Define a 2 component vector.
Define a 3 component vector.
Define a 4 component vector.
# Structs
Quaternion implementation taken from https://github.com/go-gl/mathgl/blob/master/mgl32/quat.go.