aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #50 from MalteHei/masterHEADmasterdatenwolf2022-03-301-6/+4
|\ | | | | changed formatting in README
| * changed formatting in READMEMalte Heidemann2022-03-301-6/+4
|/
* Merge pull request #42 from dizcza/testsdatenwolf2021-01-065-73/+349
|\ | | | | Added tests, fixed a bug, and more
| * added testsdizcza2020-08-085-76/+352
| |
* | Merge pull request #40 from cphos/masterdatenwolf2021-01-061-0/+1
|\ \ | | | | | | #include <string.h> to avoid implicit declaration of memcpy
| * | #include <string.h> to avoid implicit declaration of memcpymusicfarm2020-04-201-0/+1
| |/
* | Merge pull request #8 from RicoP/masterdatenwolf2021-01-060-0/+0
|\ \ | | | | | | Fixed convertion from double to float warning
| * | Fixed convertion from double to float warningRico P2014-01-171-1/+1
| | |
* | | Merge pull request #26 from g-pechorin/patch-1datenwolf2021-01-061-4/+4
|\ \ \ | |_|/ |/| | silence double to float warnings
| * | silence double to float warningsPeter LaValle2016-10-041-4/+4
| | |
* | | Merge pull request #39 from gre-42/masterdatenwolf2020-04-161-2/+2
|\ \ \ | | | | | | | | Correct sign in mat4x4_rotate_Y
| * | | Correct sign in mat4x4_rotate_Ygre-422020-04-151-2/+2
|/ / / | | | | | | Signs were incorrect in mat4x4_rotate_Y.
* | | fixed two small typos in READMEWolfgang Draxinger2020-04-081-1/+1
| | |
* | | added missing void return type to mat4x4_arcballWolfgang Draxinger2020-01-171-1/+1
| | |
* | | transplanted arcball functionWolfgang Draxinger2019-10-301-195/+323
|\ \ \
| * \ \ Merge pull request #34 from Philosoph228/patch-1datenwolf2019-04-281-2/+2
| |\ \ \ | | | | | | | | | | Added const qualifier for read-only parameters
| | * | | Added const qualifier for read-only parametersShima2019-04-281-2/+2
| |/ / /
| * | | Merge pull request #32 from nwn/masterdatenwolf2019-04-161-4/+3
| |\ \ \ | | | | | | | | | | Fix bug in mat4x4_orthonormalize
| | * | | Fix bug in mat4x4_orthonormalizeNathan Wiebe Neufeldt2019-04-151-4/+3
| |/ / / | | | | | | | | | | | | | | | | The Gram-Schmidt process was incorrect, resulting in non-orthogonal columns.
| * | | Merge pull request #31 from metalvoidzz/masterdatenwolf2019-03-271-48/+54
| |\ \ \ | | |/ / | |/| | Add the option to avoid inline (c89 compatibility)
| | * | Add the option to avoid inline (c89 compatibility)metalvoidzz2019-03-271-48/+54
| |/ /
* / / merged, no conflictsWolfgang Draxinger2019-10-301-284/+190
|/ /
* | Merge pull request #24 from adrianbroher/masterdatenwolf2016-02-071-0/+12
|\ \ | | | | | | Add vec{2,3,4} minimum and maximum functions
| * | Add vec{2,3,4} component wise minimum and maximum functionsMarcel Metz2016-01-261-0/+12
|/ /
* | Merge pull request #22 from t-mw/quat_mul_vec3_fixdatenwolf2015-09-231-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-Williams2015-09-231-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 Draxinger2015-07-311-6/+16
| | | | | | | | method
* | Merge pull request #14 from PolyFloyd/quat_rotatedatenwolf2015-05-261-0/+8
|\ \ | | | | | | Added quat_rotate
| * | Added quat_rotatePolyFloyd2014-12-101-0/+8
| | |
* | | Merge pull request #18 from dv343/masterdatenwolf2015-01-261-2/+4
|\ \ \ | | | | | | | | In-place matrix multiplication
| * | | In-place matrix multiplicationDavid M2015-01-251-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/masterdatenwolf2015-01-251-9/+9
|\| | | | | | | | | | | Warning removal
| * | | Removed extra ';' after macrosDavid M2015-01-241-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 constTim Malte Gräfje2015-01-081-6/+6
|/ / / | | | | | | | | | where applicable. This fixes all warnings that gcc with -Wall gave me.
* / / generic vec type generation macroWolfgang Draxinger2014-12-111-72/+44
|/ /
* | mat4x4_mul_quat in its current form can be used only for orthogonal ↵Wolfgang Draxinger2014-09-231-1/+4
| | | | | | | | matrices, renamed to mat4x4o_mul_quat
* | fixed an issue that popped up in StackOverflow, thanks @kluelessWolfgang Draxinger2014-09-231-3/+3
| |
* | fixed missinc w-column copy in mat4x4_scale_anisoWolfgang Draxinger2014-08-201-10/+14
| |
* | fixed a stupid mistake in mat4x4_rotateWolfgang Draxinger2014-08-051-7/+33
|/
* Merge branch 'learnopengles/dev' into devWolfgang Draxinger2013-11-111-1/+1
|\
| * merged learnopengles and aransentin contributionsWolfgang Draxinger2013-11-111-137/+147
| |\
| * \ Merge branch 'dev' into learnopengles/devWolfgang Draxinger2013-11-111-1/+1
| |\ \
| * | | Fix bug with mat4x4_translate_in_place introduced in ↵Learn OpenGL ES2013-11-071-1/+1
| | | | | | | | | | | | | | | | 34cd9df850faf0bf6b9182b3500406351ad68ae0
| * | | Fix another instance of sizeof ptr instead of array.Learn OpenGL ES2013-11-071-1/+1
| | | |
| * | | Fix bug with invert matrix (was copying one float instead of all floats).Learn OpenGL ES2013-11-071-1/+1
| | | |
* | | | Merge branch 'aransentin/master' into devWolfgang Draxinger2013-11-111-137/+147
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | updated lots of thingsAransentin2013-10-241-137/+147
| |/
* / LICENCE file adjustedWolfgang Draxinger2013-11-111-1/+1
|/
* linmath.h uses radians for everything -- adjusted contributed perspective ↵Wolfgang Draxinger2013-10-211-4/+4
| | | | function
* minor stylistic changes, TODO comments addedWolfgang Draxinger2013-10-211-33/+37
|