Commit Graph

1370 Commits

Author SHA1 Message Date
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
Christophe Riccio
af77fb3118 Fixed conflict 2013-02-20 15:53:35 +01:00
Christophe Riccio
d8aba7302d Merge pull request #47 from mackron/Clang-Compile-Fix
Clang compilation error.
2013-02-20 06:43:55 -08:00
Dave Reid
389ca19d61 Fix a Clang compilation error.
The issue here is that GLM_DEPRECATED, GL_ALIGN, etc is being left undefined with the Clang build.
2013-02-15 08:32:56 +10:00
Christophe Riccio
0df4b94c4b Fixed CUDA warnings and errors, #43 2013-02-14 01:08:24 +01:00
Christophe Riccio
fc77c7a54e Fixed documentation warnings, issue #46 2013-02-14 00:55:22 +01:00
Christophe Riccio
e359439b86 Updated unpackHalf2x16 implementation 2013-02-10 20:47:38 +01:00
Christophe Riccio
4286b02686 Merge pull request #42 from mackron/perspective-fix
Fix a bug in glm::perspective(). Pull request #42
2013-01-31 14:59:33 -08:00
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