From 631284edc2542623da8b012db7ba866ee4ac7dc5 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Sat, 21 Jan 2012 13:35:48 +0100 Subject: README updated, LICENCE added --- LICENCE | 1 + README | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 LICENCE diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..6227527 --- /dev/null +++ b/LICENCE @@ -0,0 +1 @@ +linmath.h is in the Public Domain diff --git a/README b/README index e69de29..95bb9d3 100644 --- a/README +++ b/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 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. + -- cgit v1.2.3