diff options
author | datenwolf <code+github@datenwolf.net> | 2021-01-06 11:28:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 11:28:51 +0100 |
commit | 05387571f57224f8cbc2b390b423dab6b9158988 (patch) | |
tree | ed88a346f022c7f01dfbb6d44f2d242f52857e08 /README.md | |
parent | 3db0026ffe2c3b57abb71e2793c61ec363091359 (diff) | |
parent | ffcb15d3f25ebc25ee0dab68fadfe5e88e2b755f (diff) | |
download | linmath.h-05387571f57224f8cbc2b390b423dab6b9158988.tar.gz linmath.h-05387571f57224f8cbc2b390b423dab6b9158988.tar.bz2 |
Merge pull request #42 from dizcza/tests
Added tests, fixed a bug, and more
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..7a06566 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# linmath.h -- A small library for linear math as required for computer graphics + +[![CircleCI](https://circleci.com/gh/datenwolf/linmath.h.svg?style=svg)](https://app.circleci.com/pipelines/github/datenwolf/linmath.h) + + +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. + |