Popularity
5.1
Declining
Activity
0.0
Declining
883
44
136

Programming language: C
License: Do What The F*ck You Want To Public License
Tags: Math    

linmath.h alternatives and similar libraries

Based on the "Math" category.
Alternatively, view linmath.h alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of linmath.h or a related project?

Add another 'Math' Library

README

linmath.h -- A small library for linear math as required for computer graphics

CircleCI

linmath.h provides the most used types required for programming computer graphics:

  • 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.