Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add eprintf style module makefile.HEADmaster | Tomasz Kramkowski | 2018-04-20 | 1 | -0/+3 |
| | |||||
* | Refactor linmath.h for use in faqe. | Tomasz Kramkowski | 2018-04-20 | 1 | -249/+262 |
| | |||||
* | Merge pull request #24 from adrianbroher/master | datenwolf | 2016-02-07 | 1 | -0/+12 |
|\ | | | | | Add vec{2,3,4} minimum and maximum functions | ||||
| * | Add vec{2,3,4} component wise minimum and maximum functions | Marcel Metz | 2016-01-26 | 1 | -0/+12 |
|/ | |||||
* | Merge pull request #22 from t-mw/quat_mul_vec3_fix | datenwolf | 2015-09-23 | 1 | -3/+4 |
|\ | | | | | Fix bug in quat_mul_vec3 caused by reuse of u and t in 'vec3_mul_cross' | ||||
| * | Fix bug in quat_mul_vec3 caused by reuse of u and t in 'vec3_mul_cross' | Tobias Mansfield-Williams | 2015-09-23 | 1 | -3/+4 |
|/ | | | | | | | | | | | | | | | | | | The new implementation of `quat_mul_vec3` introduced in commit 06b68f6caa214d9f98ada28db837c21e08ed2927 incorrectly calculates 't' and 'u'. The problem's caused by the variables being used as both input and output to `vec3_mul_cross`, which causes the variables to be corrupted as the cross product is taken. Unlike with the simple vector operations, input variables to vec3_mul_cross must be distinct from the output variable. ``` static inline void vec3_mul_cross(vec3 r, vec3 const a, vec3 const b) { r[0] = a[1]*b[2] - a[2]*b[1]; r[1] = a[2]*b[0] - a[0]*b[2]; r[2] = a[0]*b[1] - a[1]*b[0]; } ``` | ||||
* | fixed out-of-bounds write in quat_mul_vec3 by replacing with a more elegant ↵ | Wolfgang Draxinger | 2015-07-31 | 1 | -6/+16 |
| | | | | method | ||||
* | Merge pull request #14 from PolyFloyd/quat_rotate | datenwolf | 2015-05-26 | 1 | -0/+8 |
|\ | | | | | Added quat_rotate | ||||
| * | Added quat_rotate | PolyFloyd | 2014-12-10 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #18 from dv343/master | datenwolf | 2015-01-26 | 1 | -2/+4 |
|\ \ | | | | | | | In-place matrix multiplication | ||||
| * | | In-place matrix multiplication | David M | 2015-01-25 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | In-place matrix multiplication (mat4x4_mul(m1, m1,m2)) and the operations that depends on it (mat4x4_rotate...) do not work. I think that this feature will be appreciated, even if it has a performance cost. | ||||
* | | | Merge pull request #17 from dv343/master | datenwolf | 2015-01-25 | 1 | -9/+9 |
|\| | | | | | | | | Warning removal | ||||
| * | | Removed extra ';' after macros | David M | 2015-01-24 | 1 | -3/+3 |
| | | | | | | | | | | | | This removes gcc and clang warnings (src/linmath.h:44:24: warning: extra ';' outside of a function [-Wextra-semi]) | ||||
| * | | Made parameters of generic vector functions const | Tim Malte Gräfje | 2015-01-08 | 1 | -6/+6 |
|/ / | | | | | | | where applicable. This fixes all warnings that gcc with -Wall gave me. | ||||
* / | generic vec type generation macro | Wolfgang Draxinger | 2014-12-11 | 1 | -72/+44 |
|/ | |||||
* | mat4x4_mul_quat in its current form can be used only for orthogonal ↵ | Wolfgang Draxinger | 2014-09-23 | 1 | -1/+4 |
| | | | | matrices, renamed to mat4x4o_mul_quat | ||||
* | fixed an issue that popped up in StackOverflow, thanks @klueless | Wolfgang Draxinger | 2014-09-23 | 1 | -3/+3 |
| | |||||
* | fixed missinc w-column copy in mat4x4_scale_aniso | Wolfgang Draxinger | 2014-08-20 | 1 | -10/+14 |
| | |||||
* | fixed a stupid mistake in mat4x4_rotate | Wolfgang Draxinger | 2014-08-05 | 1 | -7/+33 |
| | |||||
* | Merge branch 'learnopengles/dev' into dev | Wolfgang Draxinger | 2013-11-11 | 1 | -1/+1 |
|\ | |||||
| * | merged learnopengles and aransentin contributions | Wolfgang Draxinger | 2013-11-11 | 1 | -137/+147 |
| |\ | |||||
| * \ | Merge branch 'dev' into learnopengles/dev | Wolfgang Draxinger | 2013-11-11 | 1 | -1/+1 |
| |\ \ | |||||
| * | | | Fix bug with mat4x4_translate_in_place introduced in ↵ | Learn OpenGL ES | 2013-11-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | 34cd9df850faf0bf6b9182b3500406351ad68ae0 | ||||
| * | | | Fix another instance of sizeof ptr instead of array. | Learn OpenGL ES | 2013-11-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix bug with invert matrix (was copying one float instead of all floats). | Learn OpenGL ES | 2013-11-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'aransentin/master' into dev | Wolfgang Draxinger | 2013-11-11 | 1 | -137/+147 |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | |||||
| * | | updated lots of things | Aransentin | 2013-10-24 | 1 | -137/+147 |
| |/ | |||||
* / | LICENCE file adjusted | Wolfgang Draxinger | 2013-11-11 | 1 | -1/+1 |
|/ | |||||
* | linmath.h uses radians for everything -- adjusted contributed perspective ↵ | Wolfgang Draxinger | 2013-10-21 | 1 | -4/+4 |
| | | | | function | ||||
* | minor stylistic changes, TODO comments added | Wolfgang Draxinger | 2013-10-21 | 1 | -33/+37 |
| | |||||
* | fixed bug in perspective introduced by contribution made by learnopengles | Wolfgang Draxinger | 2013-10-21 | 1 | -3/+3 |
| | |||||
* | fixed some embarrassing syntax and semantic mistakes | Wolfgang Draxinger | 2013-10-20 | 1 | -31/+20 |
| | |||||
* | changed matrix in place to use mat4x4_row extraction and vec4_inner product | Wolfgang Draxinger | 2013-10-12 | 1 | -5/+16 |
| | |||||
* | Refactor mat4x4_look_at to reuse internal functions and data types. | Learn OpenGL ES | 2013-09-19 | 1 | -42/+21 |
| | |||||
* | Update 'const' coding style. | Learn OpenGL ES | 2013-09-19 | 1 | -2/+2 |
| | |||||
* | Update indentation | Learn OpenGL ES | 2013-09-19 | 1 | -5/+5 |
| | |||||
* | Add mat4x4_translate_in_place(), mat4x4_perspective(), and mat4x4_look_at(). | Learn OpenGL ES | 2013-09-18 | 1 | -0/+95 |
| | |||||
* | minor fix in quat_from_mat4x4 with huge impact | Wolfgang Draxinger | 2013-01-29 | 1 | -2/+3 |
| | |||||
* | fixed some bugs in mat4x4_rotate and mat4x4_ortho | Wolfgang Draxinger | 2013-01-05 | 2 | -26/+24 |
| | |||||
* | updated licence clause to WTFPL, adding legal safety for me and the users. | Wolfgang Draxinger | 2012-09-30 | 2 | -1/+19 |
| | |||||
* | fixed several bugs in matrix processing | Wolfgang Draxinger | 2012-09-30 | 1 | -4/+10 |
| | |||||
* | fixed mat4x4_mul and frustum functions. mat4x4_rotate still needs fixing | Wolfgang Draxinger | 2012-08-11 | 1 | -11/+16 |
| | |||||
* | fixed vec<n>_length vs. vec<n>_len, rotation matrix intermediary rotscale ↵ | Wolfgang Draxinger | 2012-03-16 | 1 | -3/+3 |
| | | | | matrix element WW=1 now | ||||
* | README updated, LICENCE added | Wolfgang Draxinger | 2012-01-21 | 2 | -0/+13 |
| | |||||
* | inplace mat4x4_invert now possible | Wolfgang Draxinger | 2012-01-07 | 1 | -1/+3 |
| | |||||
* | fixes | Wolfgang Draxinger | 2012-01-06 | 1 | -40/+52 |
| | |||||
* | linmath.h -- added code for ortho projection matrix, fixed some copynpaste ↵ | Wolfgang Draxinger | 2012-01-06 | 1 | -5/+18 |
| | | | | typos in frustum | ||||
* | added linmath.h | Wolfgang Draxinger | 2012-01-06 | 1 | -0/+411 |
| | |||||
* | first commit | Wolfgang Draxinger | 2012-01-06 | 1 | -0/+0 |