diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-01-21 13:35:48 +0100 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2012-01-21 13:35:48 +0100 |
commit | 631284edc2542623da8b012db7ba866ee4ac7dc5 (patch) | |
tree | 31fef5be3da7f0710ecb2fb1db8421f35a0c0623 | |
parent | 1b817e79ee8fbf4d387bae1777f90a11c30271e9 (diff) | |
download | linmath-631284edc2542623da8b012db7ba866ee4ac7dc5.tar.gz linmath-631284edc2542623da8b012db7ba866ee4ac7dc5.tar.xz linmath-631284edc2542623da8b012db7ba866ee4ac7dc5.zip |
README updated, LICENCE added
-rw-r--r-- | LICENCE | 1 | ||||
-rw-r--r-- | README | 12 |
2 files changed, 13 insertions, 0 deletions
@@ -0,0 +1 @@ +linmath.h is in the Public Domain @@ -0,0 +1,12 @@ +# linmath.h -- A small library for linear math as required for computer graphics + +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 names 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. + |