Commit Graph

1359 Commits

Author SHA1 Message Date
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
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