Commit Graph

4556 Commits

Author SHA1 Message Date
Zuzu-Typ
aa6a2757a5
Merge pull request #1 from g-truc/master
Update from master
2020-04-23 11:04:09 +02:00
Christophe
e944b22f20
Merge pull request #1008 from blat-blatnik/master
Better .natvis file #1008
2020-04-22 19:29:50 +02:00
blat-blatnik
ef44390073
Merge pull request #1 from blat-blatnik/better-natvis
Added features to the .natvis file
2020-04-17 00:37:08 +02:00
blat-blatnik
2cc2c3ae6e
Added features to the .natvis file
I've been using this natvis file in some personal projects that use GLM and I've found it to be very helpful when debugging GLM code.

vectors are displayed in the debugger like this:

glm::vec4 v(1, 2, 3, 4); // [1 2 3 4]

when expanding the view, the debugger will show each individual component, as well as the length of the vector, and hex RGBA code (for float vectors only), like this:

glm::vec4 v(0.5); // [0.5 0.5 0.5 0.5]

[len]   1
[rgba] #7F7F7F7F
x         0.5
y         0.5
z         0.5
w        0.5

Matrices are displayed in row major order when expanded in the debugger like this:

glm::mat4 m = glm::translate(glm::mat4(1), glm::vec3(1, 2, 3));
// [1 0 0 0] [0 1 0 0] [0 0 1 0] [1 2 3 1]

row 1   [1 0 0 1]
row 2   [0 1 0 2]
row 3   [0 0 1 3]
row 4   [0 0 0 1]
columns
  - col 1    [1 0 0 0]
  - col 2    [0 1 0 0]
  - col 3    [0 0 1 0]
  - col 4    [1 2 3 1]

Quaternions are displayed as: w + xi + yj + zk

glm::quat q(1, 2, 3, 4); // 1 + 2i + 3j + 4k

Dual quaternions are displayed as:

glm::dualquat dq(q, q); // [r: 1 + 2i + 3j + 4k] [d: 1 + 2i + 3j + 4k]
2020-04-17 00:35:24 +02:00
christophe
bf71a83494 Updated release date 2020-04-13 19:41:16 +02:00
christophe
b4c5bb6c1a Fixed singularity check for quatLookAt #770 2020-04-12 18:32:33 +02:00
christophe
8aa60bbeff Tentative fix of Clang warnings 2020-04-12 16:33:44 +02:00
christophe
c039ac6eb6 Tentative fix of version test 2020-04-12 16:14:42 +02:00
christophe
ecca935580 Updated readme 2020-04-12 16:09:31 +02:00
christophe
bf44be3105 Fixed invalid line 2020-04-12 16:04:40 +02:00
christophe
488be5b75a Merge branch 'master' of https://github.com/g-truc/glm 2020-04-12 15:59:27 +02:00
christophe
a3e188f946 Fixed grammar #990 2020-04-12 15:27:00 +02:00
Christophe
2a2008df33
Merge pull request #1003 from wojcikt/fix-cmake-config
Fix glmConfig-version.cmake using undefined variable #1003
2020-04-12 14:54:08 +02:00
Tomasz Wójcik
2c84530227 Fix glmConfig-version.cmake using undefined variable 2020-03-17 20:07:08 +01:00
Christophe Riccio
f4c6667347 Fixed unnecessary warnings from matrix_projection.inl #995 2020-03-05 23:46:36 +01:00
Christophe Riccio
2a65978348 Merge branch 'master' of https://github.com/g-truc/glm into matrix-int 2020-03-05 18:52:28 +01:00
Christophe
efbfecab63
Merge pull request #996 from Bargor/quaternion-slerp-multiple-spins
Quaternion slerp overload which interpolates with extra spins #996
2020-03-05 18:51:49 +01:00
Christophe
6b458cb173
Merge pull request #966 from Twinklebear/master
Add Simpler GLM CMake Config #966
2020-03-05 18:47:13 +01:00
Kontny Karol
31d01b525e Quaternion slerp overload which interpolates with extra spins
Signed-off-by: Karol Kontny <barolek@gmail.com>
2020-02-28 00:01:52 +01:00
Will Usher
739a16e6d1 fix travis as well 2020-02-19 09:10:57 -07:00
Will Usher
e6af446716 fix manual glm_DIR mention 2020-02-16 14:38:27 -08:00
Will Usher
681b8badcd Fix appveyor glm_DIR path 2020-02-16 14:37:37 -08:00
Will Usher
4d47b27333 Adjust cmake file paths to match make install for distribution 2020-02-16 14:33:59 -08:00
Will Usher
a331771ea8 Merge remote-tracking branch 'upstream/master' 2020-02-16 14:07:18 -08:00
Christophe Riccio
a4bf8867c2 Added clamp, repeat, mirrorClamp and mirrorRepeat function to GLM_EXT_scalar_commond and GLM_EXT_vector_commond extensions with tests 2020-02-11 12:53:12 +01:00
Christophe Riccio
e8d758f746 Added integer matrix extensions and fixed build 2020-02-11 11:44:52 +01:00
Christophe Riccio
0d9abe3725 Added missing EXT extensions 2020-02-10 21:44:31 +01:00
Christophe Riccio
c4fd0b3aa3 Clean up integer matrix 2020-02-10 20:22:47 +01:00
Christophe Riccio
9e7a486c0e Added matrix integer extensions and tests 2020-02-10 19:06:30 +01:00
Christophe Riccio
684817db46 Clean up integer precision 2020-02-08 16:21:22 +01:00
Christophe Riccio
79d78bbdde Work on integer matrix 2020-02-07 17:45:02 +01:00
Christophe Riccio
6bd53cc9e5 Added files for EXT packing extensions 2020-02-07 15:20:42 +01:00
Christophe Riccio
65c8ff2bd6 Merge branch 'master' of https://github.com/g-truc/glm 2020-02-07 15:19:33 +01:00
Christophe Riccio
00ef7042df Removed duplicated vector 2020-02-07 15:19:14 +01:00
Christophe
6d8b4a11bf
Merge pull request #989 from dorodnic/doc_fix
Fixing output order in the documentation of glm::polar #989
2020-02-07 14:58:50 +01:00
Christophe
82d500376e
Merge pull request #992 from amaury-ml/compfix
[Aarch64] fix for glm::length #992
2020-02-07 14:57:13 +01:00
Amaury Le Leyzour
16a650ea65 [Aarch64] fix for glm::length 2020-02-05 17:48:31 -08:00
Christophe Riccio
8e58cdbbf8 - Added GLM_EXT_vector_intX_sized and GLM_EXT_vector_uintX_sized extensions 2020-02-04 17:11:07 +01:00
dorodnic
56c2cadc4a Fixing output order in the documentation of glm::polar 2020-01-06 22:21:02 +02:00
Will Usher
d773b4453a Merge remote-tracking branch 'upstream/master' 2020-01-05 17:48:47 -07:00
Christophe Riccio
13724cfae6 Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:19:37 +01:00
Christophe Riccio
028b303a65 Fixed CXX tests 2020-01-05 21:14:53 +01:00
Christophe Riccio
79b5197e5d Fixed CXX tests 2020-01-05 21:12:11 +01:00
Christophe Riccio
a68949eba4 Fixed force cxx version tests 2020-01-05 21:09:37 +01:00
Christophe Riccio
2d8ccef1af Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:07:42 +01:00
Christophe Riccio
d92ac09ce2 Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:05:29 +01:00
Christophe Riccio
8381f8e71e Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 21:02:56 +01:00
Christophe Riccio
3ee3659adb Added force defines tests 2020-01-05 20:57:20 +01:00
Christophe Riccio
85e491b30c Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests 2020-01-05 20:41:51 +01:00
Christophe Riccio
638eb14fcd - Added GLM_FORCE_QUAT_DATA_WXYZ to store quat data as w,x,y,z instead of x,y,z,w #983 2020-01-05 15:51:05 +01:00