Commit Graph

3263 Commits

Author SHA1 Message Date
Christophe Riccio
d4043ea49a Added all precision types for GTC_type_precision 2013-04-16 21:58:26 +02:00
Christophe Riccio
296e3d7007 Fixed half precision implementation 2013-04-15 11:04:24 +02: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
c14e2d7fbc Added precision template parameter 2013-04-10 13:46:27 +02:00
Christophe Riccio
bb0398ae4a Updated default precision section 2013-04-02 01:53:30 +02:00
Christophe Riccio
d2c0cf0a93 Fixed space characters 2013-04-02 01:50:12 +02:00
Christophe Riccio
4b4f3fbbaa Fixed space characters and improved forward declaration, including extensions 2013-04-01 23:02:26 +02:00
Christophe Riccio
733cd31b0d Updated documentation design (code), improved swizzling description 2013-04-01 22:47:07 +02:00
Christophe Riccio
653e2e20ba Updated manual, new table of contents design. Created a faster compilation section, still in progress. 2013-04-01 14:07:08 +02:00
Christophe Riccio
e060785c15 Updated documentation for forward declaration 2013-04-01 13:06:47 +02:00
Christophe Riccio
9e5e056229 Clean up 2013-04-01 13:06:15 +02:00
Christophe Riccio
5bb22ed2ee Added txt files to the project solution 2013-04-01 13:05:43 +02:00
Christophe Riccio
589e7cda6b Added forward declarations (glm/fwd.hpp) for faster compilations, issue #56 2013-03-31 11:41:53 +02:00
Christophe Riccio
afb7779baf Added forward declarations (glm/fwd.hpp) for faster compilations, issue #56 2013-03-31 03:35:10 +02:00
Christophe Riccio
ea09100144 Added forward declarations (glm/fwd.hpp) for faster compilations, issue #56 2013-03-31 03:33:24 +02:00
Christophe Riccio
39cf417691 Added initial implementation for forward declarations: int and float scalar types, #56 2013-03-31 01:16:13 +01:00
Christophe Riccio
6a96cd819a Fixed dual quaternion build on Clang, fixed space characters #49 2013-03-31 00:48:28 +01: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
7739e9c3e3 Fixed merge 2013-03-20 01:49:22 +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
e7a5e50fc8 Fixed merge 2013-03-16 18:16:36 +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
6c4ae0d241 Fixed space characters 2013-03-10 19:34:21 +01:00
Christophe Riccio
cc60e7d230 Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5 2013-02-22 15:54:20 +01:00
Christophe Riccio
7c0cdb32ae Merge branch '0.9.4' into 0.9.5 2013-02-22 15:29:39 +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
5c44c6e9fc Merge branch '0.9.4' into 0.9.5 2013-02-22 10:49:00 +01:00
Christophe Riccio
bea3bd277f Updated readme 2013-02-22 10:48:47 +01:00
Christophe Riccio
a2be7bbc43 Merge pull request #52 from msomeone/0.9.5
Removed erroneous include "./gtc/dual_quaternion.hpp". Now correctly inc...
2013-02-22 01:38:59 -08:00
Christophe Riccio
f37af51426 Fixed API for euclian, only need a vec2 parameter 2013-02-22 10:17:25 +01:00
Maksim Vorobiev
2afa70aedf Removed erroneous include "./gtc/dual_quaternion.hpp". Now correctly including "./gtx/dual_quaternion.hpp" 2013-02-22 08:29:27 +03:00
Christophe Riccio
982bb5ce5d Added rotation function, issue #22 2013-02-22 01:08:33 +01:00
Christophe Riccio
a454354dfa Updated readme 2013-02-21 23:24:00 +01:00
Christophe Riccio
7b57810a34 Merge branch '0.9.4' into 0.9.5 2013-02-21 22:57:27 +01:00
Christophe Riccio
18a8efde62 Resolve issue #39, exp, squad and intermediate functions 2013-02-21 22:57:14 +01:00
Christophe Riccio
8320f165df Merge branch '0.9.4' into 0.9.5 2013-02-21 22:00:24 +01:00
Christophe Riccio
e53c8b8529 Fixed issue #48 2013-02-21 21:58:37 +01:00
Christophe Riccio
1e3cb00fe5 Completed bit interleaving for 3 and 4 values 2013-02-21 21:35:21 +01:00
Christophe Riccio
3e3736769c Fixed intrinsics build 2013-02-21 11:36:50 +01:00
Christophe Riccio
78118204f6 Merge branch '0.9.4' into 0.9.5 2013-02-20 16:22:07 +01:00
Christophe Riccio
2a4434786e Updated date 2013-02-20 16:21:56 +01:00
Christophe Riccio
a445d5ee68 Updated readme for GLM 0.9.5.0 2013-02-20 16:10:35 +01:00