Commit Graph

1386 Commits

Author SHA1 Message Date
Christophe Riccio
5d151a1036 Merge pull request #96 from tszirr/0.9.4
fix: subscript swizzles in cuda device code #96
2013-07-14 11:40:11 -07:00
Jacob Parker
1a189b3400 remove register specifier, deprecated in C++11 2013-07-14 20:20:45 +02:00
tszirr
968c892f92 Revert "fix: no implicit vector copy"
Reason: Wrong branch
This reverts commit 2d88860244.
2013-07-12 15:44:02 +02:00
tszirr
861d6d1933 fix: swizzled operations in cuda code 2013-07-12 15:29:48 +02:00
tszirr
d0ddbc217d Merge https://github.com/tszirr/glm into 0.9.4 2013-06-24 16:07:01 +02:00
tszirr
2d88860244 fix: no implicit vector copy 2013-06-24 11:45:19 +02:00
tszirr
5a48614f57 fix: component declaration order -> debug display order! 2013-06-21 17:17:34 +02:00
tszirr
b016594ac3 fix: function-local static arrays unsupported in cuda device code 2013-06-17 10:49:02 +02:00
tszirr
58dc29a860 fix: subscript swizzles in cuda device code 2013-06-14 16:38:58 +02:00
Christophe Riccio
4688f896f9 Fixed language detection on GCC when the C++0x mode isn't enabled #95 2013-06-13 16:50:27 +00:00
Christophe Riccio
119b36c4f2 Updated revision number for GLM 0.9.4.5 release 2013-06-13 16:41:39 +00:00
Christophe Riccio
fa2cca847f Fixed use of intrinsics in pure mode #92 2013-06-13 16:37:39 +00:00
Christophe Riccio
bbf9989334 Fixed test crash due to the normalization of a nan vector 2013-05-28 03:48:41 +02:00
Christophe Riccio
f4f7a71964 Back ported resolution for issue #71 for znear == 0 bug into branch 0.9.4 2013-05-28 03:47:26 +02:00
Christophe Riccio
e5df5fb0b3 Updated GLM 0.9.4.4 release note 2013-05-28 02:17:27 +02:00
Christophe Riccio
38f2d35f4a Merge pull request #86 from tszirr/0.9.4
0.9.4: Lots of CUDA warnings & swizzle fixes
2013-05-27 06:28:02 -07:00
tszirr
216ad4c34d Add more missing GLM_FUNC_QUALIFIERs 2013-05-27 15:07:22 +02:00
tszirr
e166850954 Fix missing return statement in swizzle assignment operator 2013-05-27 14:59:16 +02:00
tszirr
eb4cd987f1 Added missing GLM_FUNC_DECL specifiers 2013-05-27 14:55:08 +02:00
tszirr
fa77d41ab9 Fix broken _GLM_SWIZZLE4_4_MEMBERS 2013-05-27 14:34:41 +02:00
Christophe Riccio
129efd75a9 Back ported extended swizzle fix for issue #84 2013-05-26 09:59:39 +00:00
Christophe Riccio
1ac4dd648a Merge branch 'master' into 0.9.4 2013-05-26 09:37:46 +00:00
Christophe Riccio
959de31cfc Merge pull request #84 from meejah/master
Missing xwww swizzle
2013-05-22 15:44:37 -07:00
meejah
3352b45222 Add a missing swizzle, for .xwww 2013-05-22 10:45:30 -06:00
Christophe Riccio
b95a53095b Added assert in inversesqrt to detect division by zero. #61 2013-05-16 14:36:04 +00:00
Christophe Riccio
bc9aaa4033 Fixed glm.natvis, issue #82 2013-05-16 13:49:54 +00:00
Christophe Riccio
86a5825fee Merge pull request #80 from robert-ancell/0.9.4
Fix glm::higherMultiple and glm::lowerMultiple and assoicated test cases...
2013-05-06 06:16:35 -07:00
Robert Ancell
f0d4080fe3 Fix glm::higherMultiple and glm::lowerMultiple and assoicated test cases. Does not fix the specialized versions of these functions 2013-05-03 16:52:06 -07:00
Christophe Riccio
073675d970 Updated readme for issue #70 2013-04-19 21:36:10 +02:00
Christophe Riccio
e5172fb284 Merge pull request #70 from Adellica/0.9.4
Fixed mat2x4 value-type constructor, issue #70
2013-04-19 12:33:43 -07:00
Kristian Lein-Mathisen
867db84ca5 Fixed mat2x4 value-type constructor
#include <glm/glm.hpp>
#include <iostream>
using namespace std;
int main() {
    // creating two should-be identical matrices
  glm::mat2x4 A((int)1);
  glm::mat2x4 B((float)1);

  float* Aptr = (float*)&A;
  float* Bptr = (float*)&B;
  for(int i = 0 ; i < 8 ; i++) cout << Aptr[i] << " ";  cout << endl;
  for(int i = 0 ; i < 8 ; i++) cout << Bptr[i] << " ";
}

output before patch:
1 0 0 0 0 1 0 0
1 0 0 0 0 0 0 0
output after patch:
1 0 0 0 0 1 0 0
1 0 0 0 0 1 0 0
2013-04-14 23:30:30 +02:00
Christophe Riccio
78d3e5ca66 Updated readme 2013-03-27 02:33:59 +01:00
Christophe Riccio
e7dc01fc06 Fixed slerp, linear interpolation when cosTheta is close to 1, #65 2013-03-26 00:28:29 +01:00
Christophe Riccio
c097769bad Updated readme 2013-03-19 20:16:11 +01:00
Christophe Riccio
dab66f81e5 Fixed mix function for bool and bvec* type third parameter, issue #59 2013-03-17 14:03:37 +01:00
Christophe Riccio
356e70e653 Autodetect C++ version using __cplusplus value, issue #62 2013-03-17 12:59:59 +01:00
Christophe Riccio
96ecbbb28b Added more mix function tests 2013-03-17 03:34:56 +01:00
Christophe Riccio
b7f622a142 Added mix function tests 2013-03-16 02:54:44 +01:00
Christophe Riccio
c3af426eb1 Added mix function tests 2013-03-16 02:46:41 +01:00
Christophe Riccio
003c547e43 Fixed isnan and isinf on Android with Clang, issue #54 2013-03-16 01:34:37 +01:00
Christophe Riccio
8ed5f541ff Resolved issue #58 2013-03-16 01:24:29 +01:00
Christophe Riccio
4d71624067 Added file headers so that the files are no longer empty. #57 2013-03-16 01:20:26 +01:00
Christophe Riccio
4c89167ac9 Clarifies the license applying on the manual and added a docx copy of the manual to the source 2013-02-22 15:28:33 +01:00
Christophe Riccio
bea3bd277f Updated readme 2013-02-22 10:48:47 +01:00
Christophe Riccio
f37af51426 Fixed API for euclian, only need a vec2 parameter 2013-02-22 10:17:25 +01:00
Christophe Riccio
a454354dfa Updated readme 2013-02-21 23:24:00 +01:00
Christophe Riccio
18a8efde62 Resolve issue #39, exp, squad and intermediate functions 2013-02-21 22:57:14 +01:00
Christophe Riccio
e53c8b8529 Fixed issue #48 2013-02-21 21:58:37 +01:00
Christophe Riccio
2a4434786e Updated date 2013-02-20 16:21:56 +01:00
Christophe Riccio
eafe125d95 Updated readme for GLM 0.9.4.3 2013-02-20 16:08:01 +01:00