diff options
| author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2016-04-24 23:52:45 +0200 |
|---|---|---|
| committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2016-04-24 23:52:45 +0200 |
| commit | 2ca04fbe7985ee944f3fa6302886a252a51add0c (patch) | |
| tree | b373879928a1060e564d29d44f6e20b620b272e9 /linmath.h/README | |
| download | pointoverdrawbench-2ca04fbe7985ee944f3fa6302886a252a51add0c.tar.gz pointoverdrawbench-2ca04fbe7985ee944f3fa6302886a252a51add0c.tar.bz2 | |
initial commit
Diffstat (limited to 'linmath.h/README')
| -rw-r--r-- | linmath.h/README | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linmath.h/README b/linmath.h/README new file mode 100644 index 0000000..9c43c8e --- /dev/null +++ b/linmath.h/README @@ -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 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. + |
