modulepackage
0.0.0-20220922225318-40b6290c3b40
Repository: https://github.com/xlab/linmath.git
Documentation: pkg.go.dev
# README
linmath 
A small library for linear math as required for computer graphics. This is a Go-lang port of github.com/datenwolf/linmath.h.
linmath.h provides the most used types required programming computer graphice:
vec3 -- 3 element vector of floats
vec4 -- 4 element vector of floats (4th component used for homogenous computations)
mat4x4 -- 4 by 4 elements matrix, computations are done in column major order
quat -- quaternion
The types are deliberately named like the types in GLSL. In fact they are meant to
be used for the client side computations and passing to same typed GLSL uniforms.
License
MIT (re-licensed from the WTFPL).
# Functions
DegreesToRadians converts degrees to radians.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuatMultInner the same as for Vec3.
RadiansToDegrees converts radians to degrees.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author