Commit Graph

1379 Commits

Author SHA1 Message Date
Dave Reid
e6b8f7a40e Fix a bug in glm::perspective() where a degrees-to-radians conversion is being performed twice. 2013-02-01 07:30:38 +10:00
Christophe Riccio
e1aa3142b2 Merge pull request #41 from Kangz/0.9.4
Fix a warning in func_integer.inl, issue #41
2013-01-31 06:06:31 -08:00
Christophe Riccio
7848efdba9 Fixed space 2013-01-31 14:43:30 +01:00
Corentin Wallez
0be0a2cb41 Fix a warning in func_integer.inl
The lack of parenthesis triggered -Wshift-op-parentheses in Clang 3.2
2013-01-30 08:06:14 +00:00
Christophe Riccio
a4aa39f9bd Fixed 0x2013 dash character in comments that cause issue in Windows 2013-01-23 02:27:59 +01:00
Christophe Riccio
43a9e450fd Fixed mix for vec4 SSE implementation, issue #33 2013-01-23 02:18:43 +01:00
Christophe Riccio
37e380ca9b Fixed packDouble2x32 on XCode 4.5, issue #37 2013-01-23 01:49:42 +01:00
Christophe Riccio
a33a2b2c42 Fixed merge 2013-01-23 00:56:56 +01:00
Christophe Riccio
e7173dd156 Fixed compAdd, issue #40 2013-01-23 00:55:09 +01:00
Christophe Riccio
68cf8d5fe5 Updated readme.txt 2013-01-07 23:50:21 +00:00
Christophe Riccio
9a625f4d5b Fixed SIMD support for Intel compiler on Windows, issue #32 2013-01-07 23:37:59 +00:00
Christophe Riccio
6c855a892d Updated revision number for GLM 0.9.4.2 release 2013-01-07 23:29:29 +00:00
Christophe Riccio
115c7fc64a Added specific code path to isnan and isinf for CUDA, issue #35 2013-01-07 23:24:27 +00:00
Christophe Riccio
a7feb46c1a Fixed build 2013-01-04 14:26:18 +00:00
Christophe Riccio
889a7594d9 Fixed bug #34, GLM_FORCE_RADIANS not working on glm::perspective 2013-01-02 00:05:07 +00:00
Christophe Riccio
9926506c7f Added assert to ensure lerp is used in the correct range of value 2012-12-23 12:34:55 +01:00
Christophe Riccio
cd043f2ee2 Fixed GCC warnings 2012-12-23 01:26:20 +01:00
Christophe Riccio
b31d1b560c Updated doxygen doncumentation 2012-12-22 14:49:37 +01:00
Christophe Riccio
87a54a52a0 Updated release date 2012-12-22 14:44:11 +01:00
Christophe Riccio
b033f9b4e8 Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.4 2012-12-22 14:31:40 +01:00
Christophe Riccio
5db36dc39c Fixed epsilonEqual test on quaternions 2012-12-22 14:30:46 +01:00
Christophe Riccio
06b1578117 Merge pull request #28 from mackron/QuatWarningFix
Fix a -Wswitch-default warning in GCC.
2012-12-22 02:56:46 -08:00
Dave Reid
dc9a2486d6 Fix a -Wswitch-default warning in GCC.
The default case should never actually be met. I've added an assert(false) statement here for sanity.
2012-12-22 11:57:19 +10:00
Christophe Riccio
ac59f0e4c5 Updated manual, fixing issue #16 2012-12-22 02:23:39 +01:00
Christophe Riccio
ad36b36b5b Updated mix and lerp documentation 2012-12-22 01:32:33 +01:00
Christophe Riccio
29805391bd Added tests for slerp function 2012-12-22 00:32:07 +01:00
Christophe Riccio
b78d53d0ac Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.4 2012-12-21 23:05:38 +01:00
Christophe Riccio
912d1b1e81 Added slerp, lerp and mix functions for quaternions. Added, fixed and clarified documentation. 2012-12-21 23:05:10 +01:00
Christophe Riccio
a38b927608 Merge pull request #27 from mackron/SIMD
SIMD MinGW Fixes
2012-12-21 11:02:43 -08:00
Christophe Riccio
6f22430bbc Resolved quaternion slerp interpolation, implemented by mix function 2012-12-21 02:21:21 +01:00
Dave Reid
7b6fb9f635 Fix GCC warnings. 2012-12-21 10:48:10 +10:00
Dave Reid
f206f39c3a Fix MinGW compilation error. 2012-12-21 10:38:46 +10:00
Christophe Riccio
b5274bfa52 Updated readme.txt for GLM 0.9.4.1 release 2012-12-21 00:18:34 +01:00
Christophe Riccio
d694c0d19d Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.4 2012-12-21 00:17:51 +01:00
Christophe Riccio
82832839c2 Resolved issue #24, incorrect assert messages for step and smoothstep 2012-12-21 00:17:23 +01:00
Christophe Riccio
1a2e05a1cc Merge pull request #25 from mackron/SIMD
SIMD Improvements and Additions
2012-12-20 15:05:05 -08:00
Dave Reid
18c616528a Add missing implementations of fmat4x4SIMD unary operators. 2012-12-21 08:33:14 +10:00
Dave Reid
c6c8dd15f2 Add missing implementation of fmat4x4SIMD binary operators. 2012-12-21 08:28:34 +10:00
Dave Reid
a4ea111417 Add a new constructor to fmat4x4SIMD that takes a __m128[4]. This is used in a future commit. 2012-12-21 08:19:36 +10:00
Dave Reid
60c3d3c943 Improve const-correctness in instrinsic_matrix.inl. 2012-12-21 08:12:30 +10:00
Dave Reid
3681cd3523 Add support for doing an identity initialization in the default constructor of fmat4x4SIMD().
This is disabled by default and enabled with GLM_SIMD_ENABLE_DEFAULT_INIT. It makes toggling between SIMD and non-SIMD builds a bit easier.
2012-12-21 07:55:39 +10:00
Dave Reid
efff3add87 Add support for doing a (0.0, 0.0, 0.0, 0.0) initialization in the default constructor of fvec4SIMD().
This is disabled by default, but enabled with GLM_SIMD_ENABLE_DEFAULT_INIT. This makes toggling between SIMD and non-SIMD builds a bit easier.
2012-12-21 07:49:49 +10:00
Dave Reid
87c90590be Add support for x,y,z,w accessors to fvec4SIMD.
This is done via a union. It must be enabled with GLM_SIMD_ENABLE_XYZW_UNION. A nameless struct/union warning in VC (C4201) is explicitly disabled with the "pragma warning(push/pop)" system.

Allowing xyzw access makes it much easier to toggle between SIMD and non-SIMD builds.
2012-12-21 07:40:03 +10:00
Christophe Riccio
560b474008 Fixed quat slerp using mix function when cosTheta close to 1 2012-12-20 18:13:04 +01:00
Christophe Riccio
0b41846700 Fixed speeling 2012-12-20 11:16:12 +01:00
Christophe Riccio
c19dda3797 Fixed quaternion interpolation when cosTheta is close to zero 2012-12-20 00:37:28 +01:00
Christophe Riccio
ec05d43d7d Updated readme for GLM 0.9.4.1 release 2012-12-16 22:05:23 +01:00
Christophe Riccio
443f62bb08 Fixed issue #19, fixed -0.0 with half 2012-12-16 21:54:54 +01:00
Christophe Riccio
8a291a9dc2 Fixed bug #14, fixed constexpr 2012-12-13 23:08:41 +01:00
Christophe Riccio
841f91e830 Fixed bug #15, added missing roll, pitch and yaw functions; Fixed half implicit conversions 2012-12-13 22:48:20 +01:00