aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
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.
+