File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33[ ![ CircleCI] ( https://circleci.com/gh/datenwolf/linmath.h.svg?style=svg )] ( https://app.circleci.com/pipelines/github/datenwolf/linmath.h )
44
5-
65linmath.h provides the most used types required for programming computer graphics:
76
8- vec3 -- 3 element vector of floats
9- vec4 -- 4 element vector of floats (4th component used for homogenous computations)
10- mat4x4 -- 4 by 4 elements matrix, computations are done in column major order
11- quat -- quaternion
7+ - ` vec3 ` -- 3 element vector of floats
8+ - ` vec4 ` -- 4 element vector of floats (4th component used for homogenous computations)
9+ - ` mat4x4 ` -- 4 by 4 elements matrix, computations are done in column major order
10+ - ` quat ` -- quaternion
1211
1312The types are deliberately named like the types in GLSL. In fact they are meant to
1413be used for the client side computations and passing to same typed GLSL uniforms.
15-
You can’t perform that action at this time.
0 commit comments