dachziegel
d19766fcbf
added GLM_FUNC_QUALIFIER to be able to use in CUDA
2014-05-05 13:45:36 +02:00
Christophe Riccio
842cea8747
Merge 0.9.5
2014-05-04 21:07:05 +02:00
Christophe Riccio
a2b70690c1
Added test gor issue #199
2014-05-04 17:34:34 +02:00
Christophe Riccio
d77bfa1a70
Fixed GTX_color_space - saturation #195
2014-05-04 17:20:40 +02:00
Christophe Riccio
0cbef584e3
Merge pull request #189 from rleigh-dundee/cmake-install
...
cmake: Several fixes to the build system #189
2014-05-04 16:51:43 +02:00
Christophe Riccio
9a3d7a115c
Fixed build error #190
2014-05-04 16:47:06 +02:00
Christophe Riccio
e5ee35323a
Fixed non-utf8 character #196
2014-05-04 16:34:46 +02:00
jan p springer
9ecc30c5dd
added: missing value_type typedef
2014-04-15 18:37:34 +01:00
Roger Leigh
34bd28e8c6
cmake: Don't build tests when not testing
2014-04-15 10:46:45 +01:00
jan p springer
37e5868200
fixed: warning wrt. strict aliasing on gcc 4.8.2/clang3.3
2014-04-14 00:13:20 +01:00
jan p springer
ae691ce39a
commented out already declred types (in glm/fwd.hpp)
2014-04-14 00:12:38 +01:00
jan p springer
478dc697ff
fixed: compile problems w/ non-existent header files
2014-04-14 00:11:25 +01:00
Christophe Riccio
10778448ef
Fixed merge
2014-04-02 01:31:36 +02:00
Christophe Riccio
6c22a0b82f
Updated version for 0.9.5.4
2014-04-02 01:23:19 +02:00
Christophe Riccio
682979ddd8
Fixed next_float for double and fixed ULP tests
2014-04-01 23:58:41 +02:00
Christophe Riccio
90ad883d9e
Added glm.g-truc.net code samples
2014-04-01 22:38:43 +02:00
Christophe Riccio
a5d2a63ef3
- Added workaround for a CUDA compiler bug ( #186 , #185 )
2014-04-01 01:20:03 +02:00
Christophe Riccio
e33136538d
- Fixed eulerAngle*** not consistent for right-handed coordinate system ( #173 )
2014-03-31 23:50:15 +02:00
David Reid
04d9fa2d45
Fix simd_quat build.
2014-03-21 18:49:27 +10:00
Christophe Riccio
3f327d5e70
Fixed usubBorrw
2014-03-16 12:33:00 +01:00
Christophe Riccio
00e860eeee
Fixed missing bitfieldInterleave definisions
2014-03-16 11:53:58 +01:00
Christophe Riccio
0b73091c7f
Fixed aliasing warnings
2014-03-16 11:15:56 +01:00
Christophe Riccio
658d7e2788
Fixed strict aliasing warnings in GCC 4.8.1 / Android NDK 9c ( #152 )
2014-03-16 03:08:56 +01:00
Christophe Riccio
693c1ddbc8
Merge 0.9.5 branch
2014-03-16 02:59:57 +01:00
Christophe Riccio
4b9e2d4028
Fixed warnings
2014-03-16 02:53:47 +01:00
Christophe Riccio
899f388921
Fixed CUDA issues ( #169 , #168 , #183 , #182 )
2014-03-16 02:39:36 +01:00
Christophe Riccio
efd4087b1c
Fixed int used instead of glm::length_t
2014-03-15 22:33:25 +01:00
Christophe Riccio
db09ecfc41
Fixed bitfieldInterleave for 4 components #175
2014-03-15 22:24:43 +01:00
Christophe Riccio
0d8d5af8dd
Fixed CUDA_VERSION not being declared #182
2014-03-15 21:59:22 +01:00
Christophe Riccio
3c562d534f
Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6
2014-03-15 21:49:18 +01:00
Christophe Riccio
ea87e50c59
Merge branch '0.9.5' into 0.9.6
2014-03-15 21:45:47 +01:00
Christophe Riccio
eaf3cf3056
Added missing GLM_FUNC_DECL
2014-03-15 21:45:28 +01:00
Christophe Riccio
2e90c3e117
Merge pull request #183 from dachziegel/0.9.6
...
added GLM_FUNC_DECL to avoid nvcc warnings #183
2014-03-15 19:52:27 +01:00
Christophe Riccio
19d2919ec3
Fixed version #179
2014-03-15 19:49:26 +01:00
dachziegel
9fddf6225b
include <cuda.h> to make sure CUDA_VERSION is defined
2014-03-15 11:29:01 +01:00
dachziegel
2536c4c6b6
added GLM_FUNC_DECL to avoid nvcc warnings
2014-03-15 11:04:12 +01:00
Christophe Riccio
ce431012c9
Fix merge
2014-02-25 21:00:25 +01:00
Miguel Ángel Pérez Martínez
7cf0e87526
Added trigonometric.hpp dep to matrix_transform_2d.inl
2014-02-20 21:58:11 -03:00
Miguel Ángel Pérez Martínez
1644912f7d
Added GTX_matrix_transform_2d
2014-02-20 21:51:33 -03:00
Christophe Riccio
016cce7bf1
Fixed GTX_raw_data code dependency
2014-02-19 02:10:36 +01:00
Christophe Riccio
43691702e1
Fixed GTX_raw_data code dependency
2014-02-19 02:09:09 +01:00
Christophe Riccio
13920db617
Fixed instruction set detection with GCC
2014-02-14 01:37:35 +01:00
Christophe
3459fcfbc1
Fixed instruction set detection on GCC
2014-02-13 21:02:11 +01:00
Christophe Riccio
e606edf43b
Added instruction set auto detection with Visual C++ using _M_IX86_FP - /arch compiler argument
2014-02-09 16:25:36 +01:00
Christophe Riccio
2b17a90859
Fixed declaration and definition mismatch
2014-02-08 20:49:34 +01:00
Christophe Riccio
7ce6df4078
Fixed sqrt ambiguity
2014-02-08 20:21:24 +01:00
Christophe Riccio
31ec3eed97
Clean up initializer list code.
2014-02-08 19:08:09 +01:00
Christophe Riccio
4e444fed19
Fixed GLM_GTC_constants description brief ( #162 )
2014-02-08 14:16:23 +01:00
Christophe Riccio
a8fd81850f
Tentative fix for strict aliasing warning in GCC 4.8.1 / Android NDK 9c ( #152 )
2014-02-08 14:10:00 +01:00
Christophe Riccio
98a0d9e00e
Merge pull request #163 from patzy/0.9.5
...
Fix dot product clamp range for vector angle functions. (#163 )
2014-02-08 13:45:22 +01:00
Christophe Riccio
6aa34be6ad
Fixed GLM_FORCE_RADIANS with <glm/ext.hpp> build error ( #165 )
2014-02-08 13:43:32 +01:00
Christophe Riccio
a310855d23
Fixed undefined reference to fastInverseSqrt ( #161 )
2014-02-08 13:34:40 +01:00
Christophe Riccio
1d981dd344
Fixed initializer list ambiguity ( #159 , #160 )
2014-02-08 12:40:34 +01:00
Morgan Veyret
32e57ce8ff
Fix dot product clamp range for vector angle functions.
2014-02-01 21:05:44 +01:00
Christophe Riccio
638d49b549
Added static assert to test the argument 'a' type of 'mix' function
2014-01-18 03:26:51 +01:00
Christophe Riccio
49cc8e83e4
Merge
2014-01-18 03:19:46 +01:00
Christophe Riccio
926c8d159c
Fixed mix function link error
2014-01-18 03:15:54 +01:00
Christophe Riccio
d3b8b2b64e
Added move contructors and assignment operators ( #141 )
2014-01-14 22:51:04 +01:00
Christophe Riccio
6a3e1e9c35
Updated message
2014-01-14 20:32:10 +01:00
Christophe Riccio
66efbcc597
Merge branch '0.9.5' into 0.9.6
2014-01-14 09:27:28 +01:00
Christophe Riccio
14c1c91f77
Clean up
2014-01-14 09:27:17 +01:00
Christophe Riccio
dd272c52ee
Fixed non power of two matrix products
2014-01-13 23:41:11 +01:00
Christophe Riccio
c3e4881833
Fixed warnings with the Android NDK 9c ( #156 )
2014-01-12 22:48:57 +01:00
Christophe Riccio
022a6f3294
Merge 0.9.5
2014-01-11 23:52:32 +01:00
Christophe Riccio
9a3781d99a
Started GLM 0.9.5.2
2014-01-11 23:51:12 +01:00
Christophe Riccio
8a5603342c
Merge 0.9.5
2014-01-11 23:49:08 +01:00
Christophe Riccio
6335627796
Fixed build
2014-01-11 23:23:21 +01:00
Christophe Riccio
01ac9e9b33
Fixed build
2014-01-11 23:21:54 +01:00
Christophe Riccio
9f81728602
Fixed outerProduct return type ( #155 )
2014-01-11 22:35:19 +01:00
Christophe Riccio
aeba3c6fe7
Quiet most GLM_FORCE_RADIANS messages
2014-01-11 21:12:53 +01:00
Christophe Riccio
3394af0cf2
Fixed build on GCC
2014-01-11 19:45:40 +01:00
Christophe Riccio
f2bce9c8fa
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2014-01-11 16:44:34 +01:00
Christophe Riccio
90a249b5ff
Optimized matrix inverse and division code ( #149 )
2014-01-11 16:44:15 +01:00
Tom Cumming
14a7c56abd
Ray plane intersection function
2014-01-07 10:54:00 +00:00
Christophe Riccio
efdfa577ee
defaultp is an enum, alias of highp ( #150 )
2014-01-06 00:48:10 +01:00
Christophe Riccio
ccb25c84c7
Update copyright year
2014-01-04 22:32:28 +01:00
Christophe Riccio
bd8836e53b
Merge branch '0.9.5' into 0.9.6
2014-01-04 22:29:45 +01:00
Dustin Biser
00f99d392c
Remove unncessary divisions for mat inverses
2014-01-04 15:11:16 -05:00
Christophe Riccio
aa26672da1
Fixed inverse link error when using namespace glm; ( #147 )
2014-01-04 16:34:11 +01:00
Christophe Riccio
6f096fbb31
Fixed vector and matrix queries
2014-01-04 14:57:59 +01:00
Christophe Riccio
06ac77dad4
Fixed declaration and definision mismatches ( #148 )
2014-01-04 13:55:37 +01:00
Christophe Riccio
9edd8aacf0
Remove is_vector
2014-01-04 13:47:30 +01:00
Christophe Riccio
b96a26e9e2
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2014-01-04 13:43:08 +01:00
Christophe Riccio
aed7317408
Fixed declaration and definision mismatches ( #148 )
2014-01-04 13:42:49 +01:00
Christophe Riccio
19ad72840f
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2014-01-04 13:27:24 +01:00
Christophe Riccio
6ed8c3dbb3
Added vectorized implementation of fast inversesqrt
2014-01-04 13:27:06 +01:00
Christophe Riccio
c6896064ef
Fixed rotate function declaration for quat
2014-01-04 12:54:27 +01:00
Christophe Riccio
4f2d7a97e0
Merge
2014-01-01 14:05:48 +01:00
Christophe Riccio
9b57315681
Fixed mismatch of GTC_packing declaration and definition prototypes
2013-12-28 19:14:11 +01:00
Christophe Riccio
775c6136fc
Fixed error 'inverse' is not a member of 'glm' from glm::unProject ( #146 )
2013-12-27 19:23:44 +01:00
Christophe Riccio
78d487b482
Added ULP comparison between lowp and highp for inversesqrt
2013-12-27 02:20:53 +01:00
Christophe Riccio
8a023f7767
Removed GTX_int_10_10_10_2, replaced by GTC_packing functions
2013-12-27 01:32:39 +01:00
Christophe Riccio
d252dd243b
Added possible static_cast conversion of GLM types ( #72 )
2013-12-27 00:49:53 +01:00
Christophe Riccio
1b36eb7603
Removed GLM_FORCE_RADIANS
2013-12-26 20:26:31 +01:00
Christophe Riccio
0d5deadf02
Removed GLM_FORCE_RADIANS, now it's the default behaviour
2013-12-26 19:15:48 +01:00
Christophe Riccio
6d6c56f211
Merge branch '0.9.5' into 0.9.6
2013-12-26 18:59:45 +01:00
Christophe Riccio
1909f512e7
Deprecated degrees, display a message for each function using it.
2013-12-26 18:58:44 +01:00
jan p springer
39179ba1ad
un/formatted() usage to un/formatted
2013-12-26 15:15:53 +00:00
Christophe Riccio
d01630079c
Fixed Visual C++ vec4 simd specification code path
2013-12-26 13:39:04 +01:00
Christophe Riccio
5f1bb47bf2
Merge branch '0.9.5' into 0.9.6
2013-12-26 13:15:20 +01:00
Christophe Riccio
07a1abdfb3
Added vec4 SSE2 specializations
2013-12-26 13:03:26 +01:00
Christophe Riccio
66ff530367
Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6
2013-12-26 11:42:58 +01:00
Christophe Riccio
d9f5e07641
Concept prof for vec4 SIMD specialication
2013-12-26 11:42:38 +01:00
Christophe Riccio
6b2ecaaf42
Clean up
2013-12-26 02:46:34 +01:00
Christophe Riccio
7fc5d21bbf
Fixed build
2013-12-26 01:24:04 +01:00
Christophe Riccio
d68fd2d97e
Fixed space characters
2013-12-26 00:32:09 +01:00
Christophe Riccio
13676679ab
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-12-26 00:25:39 +01:00
Christophe Riccio
5775879cfd
Merge pull request #145 from jsb/0.9.5
...
angle and orientedAngle sometimes return NaN values
2013-12-25 15:25:08 -08:00
Christophe Riccio
0de006a82c
Updated version for next release
2013-12-26 00:20:08 +01:00
Christophe Riccio
ddd1efd5a7
Removed deprecated files
2013-12-26 00:06:15 +01:00
Christophe Riccio
792e5ff74f
Fixed ext.hpp
2013-12-25 23:32:35 +01:00
Christophe Riccio
fd256dfaa8
Updated GLM manual with per feature headers. Fixed io.
2013-12-25 23:21:46 +01:00
Christophe Riccio
e9cb71e8b6
Fixed io build
2013-12-25 17:56:03 +01:00
Christophe Riccio
48fcbd6ec4
Fixed warnings on GCC
2013-12-25 17:44:44 +01:00
Christophe Riccio
4ca881697d
Fixed build with GCC 4.7 C++11
2013-12-25 16:02:00 +01:00
Christophe Riccio
7fd1cdc477
Fixed build with C++98 compilers
2013-12-25 15:34:38 +01:00
Christophe Riccio
edbe66cb00
Fixed build on MacOS
2013-12-25 07:41:45 +01:00
Christophe Riccio
590c2780d9
Refactored outerProduct code
2013-12-25 07:11:52 +01:00
Christophe Riccio
c03ebcc688
Refactored transpose function
2013-12-25 06:30:52 +01:00
Christophe Riccio
9b5bec81f2
Factorize glm::inverse code for matrices
2013-12-25 05:58:11 +01:00
Christophe Riccio
dde5178b84
Fixed warnings
2013-12-25 05:55:54 +01:00
Christophe Riccio
18d67da79c
Reduced dependencies of GTX_component_wise
2013-12-25 05:32:47 +01:00
Christophe Riccio
9f8112f93a
Reduced dependencies of GTX extensions. Removed some deprecated code.
2013-12-25 04:16:08 +01:00
Christophe Riccio
950eaa45cb
Reduced dependencies for GTC extensions
2013-12-24 13:45:14 +01:00
Christophe Riccio
6f7eb97b87
Move content of core directory into detail directory. Reduced dependencies to glm.hpp.
2013-12-24 10:41:59 +01:00
Christophe Riccio
0a3b2bf11f
Added headers for including subset of functions
2013-12-24 09:24:03 +01:00
Christophe Riccio
510abedf2b
Added glm::length and removed col_size and row_size
2013-12-24 09:14:51 +01:00
Christophe Riccio
dc2b2cd5f6
_inverse is now private
2013-12-24 07:22:02 +01:00
Christophe Riccio
aab47b3587
Improved GLM messages enabled with GLM_MESSAGES
2013-12-24 06:57:21 +01:00
Christophe Riccio
ca2463d5f2
Added per feature headers and added length_t and GLM_FORCE_SIZE_T_LENGTH
2013-12-24 06:43:25 +01:00
Christophe Riccio
5ef31a6e18
Added per feature headers
2013-12-24 06:19:45 +01:00
Janis Born
56bd959f9e
fix vector angle functions possibly returning NaN
2013-12-19 16:16:28 +01:00
Christophe Riccio
9f5d2be3da
Fixed GTX_wrap
2013-12-18 19:54:39 +01:00
Christophe Riccio
420822704d
Removed useless GTX extensions
2013-12-18 19:19:14 +01:00
Christophe Riccio
aa318f6a43
Fixed GTX_mixed_product build
2013-12-18 19:16:42 +01:00
jan p springer
0e3cebf23a
removed boost dependencies
2013-12-18 10:34:06 +00:00
jan p springer
623cdaa552
reimplemented io support for basic types
2013-12-17 22:37:34 +00:00
Christophe Riccio
bbecc80903
Merge pull request #142 from bernstein/0.9.5
...
Remove includes of deleted half_float.hpp
2013-12-16 15:02:42 -08:00
Christophe Riccio
3b8a199f1b
Fixed glm::multiple warning with unsigned int genType
2013-12-16 23:52:28 +01:00
Andreas Bernstein
8de3c56ddc
Remove includes of deleted half_float.hpp
2013-12-15 21:45:55 +01:00
Christophe Riccio
eb56539a76
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-12-15 19:56:12 +01:00
Christophe Riccio
0640bcaab0
Fixed inline
2013-12-15 19:55:13 +01:00
Christophe Riccio
29c3b4e484
Merge pull request #139 from regnirpsj/0.9.5
...
0.9.5: minor compile fixes, op+=/op*= for glm::quat, op<< for glm types
2013-12-10 16:44:30 -08:00
jan p springer
0f66a02c2a
added: op<< for glm types
2013-11-22 23:48:58 +00:00
jan p springer
de2f27a87a
fixed: type (GLM_SWIZZL vs GLM_SWIZZLE)
2013-11-22 23:36:51 +00:00
jan p springer
e299af614f
added: quat::op+=(quat) and quat::op*=(quat)
2013-11-22 21:46:30 +00:00
Ed Preston
0ee6673470
Fixed missing precision aualifier in template
...
Fixed missing precision aualifier in template to remove compiler
errors. (AppleClang - Xcode 5)
2013-11-15 22:11:22 -05:00
Christophe Riccio
dadab89566
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-11-10 13:47:52 +01:00
Christophe Riccio
ffbcd7f6bd
updated comments
2013-11-10 13:47:13 +01:00
Christophe Riccio
70903c39d3
Fixed merge
2013-10-28 13:34:21 +01:00
Christophe Riccio
fbb54649b7
Added test files and fixed build errors for experimental extensions.
2013-10-27 22:38:22 +00:00
Christophe Riccio
2e72af3f6d
Added test files for all GTX extensions
2013-10-27 18:25:03 +00:00
Sebastien Lussier
84b740d36e
Added missing precision template params int GTX compatibility
2013-10-23 00:22:19 -04:00
Christophe Riccio
0e31538c26
Deprecated some GTX functions
2013-10-11 01:10:15 +02:00
Christophe Riccio
02c3ce21e8
More CUDA coverage, deprecated GTX_1010102 extension
2013-10-11 00:21:27 +02:00
Christophe Riccio
086706caa5
Improved static assert messages
2013-10-10 01:29:18 +02:00
Christophe Riccio
66bc06771c
usubBorrow and uaddCarry are better implemented as template specialization
2013-10-10 01:14:39 +02:00
Christophe Riccio
d4046da22e
Fixed umulExtended and imulExtended implementations for vector types ( #76 )
2013-10-10 00:51:29 +02:00
Christophe Riccio
d1fe2d26bf
Fix metge
2013-10-09 23:54:54 +02:00
Christophe Riccio
cbfc4a366f
Merge pull request #127 from mackron/buildfix
...
Remove #include of missing file.
2013-10-09 14:49:36 -07:00
Christophe Riccio
73281f1978
Improve CUDA coverage to all GTC extensions. Fixed missing constructors #120
2013-10-09 23:33:39 +02:00
Christophe Riccio
29b11937f4
Fixed Visual C++ language feature detection
2013-10-07 23:53:30 +02:00
David Reid
dea65c8c23
Remove #include of missing file.
2013-10-07 15:34:04 +10:00
Dustin Biser
cfd0bd6e13
Fixed assert error typo in quaternion.inl
...
Changed v to l, as unknown variable v was causing compile errors in user code.
2013-10-05 16:27:01 -04:00
Dustin Biser
6881e1bb90
Refactored glm/gtc/quaternion mat3_cast
...
- Factored out minus signs. Previous commit was incorrect.
2013-10-05 15:34:03 -04:00
Christophe Riccio
e8f1feb423
Fixed exact match of initializer lists
2013-10-05 21:06:21 +02:00
Christophe Riccio
4acd5b087d
Added assert for initilizer lists to match sizes
2013-10-05 21:03:53 +02:00
Christophe Riccio
eb59cb9af6
Fixed initializer test implementation, simplified packing implementation
2013-10-05 20:06:56 +02:00
Christophe Riccio
b47a0a212f
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-10-05 19:12:22 +02:00
Christophe Riccio
cc3fcda9f8
Simplify implementations
2013-10-05 19:12:03 +02:00
Christophe Riccio
e13e147799
Uses a C++ cast instead of a C cast
2013-10-05 14:07:38 +02:00
Christophe Riccio
d3b8b25dd4
Added missing assert for sqrt
2013-10-05 14:05:28 +02:00
Dustin Biser
78fed634b7
Modified quaternion mat3_cast for faster results
...
- Make method more cache coherent
- Reduce number of multiplications
2013-10-04 22:08:08 -04:00
Christophe Riccio
258361ccd4
Added C++11 initalizer lists to quaternions
2013-10-01 02:00:27 +02:00
Christophe Riccio
9b1f079856
Added C++ 11 initializer list for matrix types
2013-10-01 01:12:21 +02:00
Christophe Riccio
81ed43373f
Fixed mat4 initializer list contructors
2013-09-30 03:50:40 +02:00
Christophe Riccio
812ff4fcc8
Initializer list experiment
2013-09-30 02:36:04 +02:00
Christophe Riccio
b51fe09cb9
Fixed build
2013-09-30 02:05:13 +02:00
Christophe Riccio
f911117407
Replace glm::detail::type traits by std::numerical_limits traits
2013-09-30 01:57:05 +02:00
Christophe Riccio
f228d42910
Fixed template parameter name
2013-09-30 01:09:57 +02:00
Christophe Riccio
f6277af56f
Replaced detail::type by std::numerical_limits
2013-09-30 01:06:54 +02:00
Christophe Riccio
5dc52c722c
Added mat4 initializer experiment
2013-09-30 00:43:48 +02:00
Christophe Riccio
71855943e0
Added initializer lists
2013-09-29 19:44:59 +02:00
Christophe Riccio
5d7c896a3f
Fixed build on Visual C++ 2005
2013-09-24 01:21:55 +02:00
Christophe Riccio
3b3c28a227
Added missing include for VC2005
2013-09-23 09:48:39 +02:00
Christophe Riccio
1e69dfe30e
Added a quation constructor taking two axis
2013-09-22 23:37:55 +02:00
Christophe Riccio
b6f5b4121d
Fixed merge
2013-09-19 21:46:51 +02:00
Christophe Riccio
843cc7bd61
Fixed eulerAngleY rotation orientation
2013-09-19 21:33:29 +02:00
Christophe Riccio
df152fa9db
Updated version for next release
2013-09-18 00:28:36 +02:00
Christophe Riccio
08c95429fe
Fixed build on GCC
2013-09-17 23:56:46 +02:00
Christophe Riccio
da67a79222
Removed invalid *= operators for non square matrix
2013-09-17 23:10:39 +02:00
Christophe Riccio
579ab2b7d2
Fixed const ref issue for vector types. Backport from GLM 0.9.5 branch #116
2013-09-17 23:02:04 +02:00
Christophe Riccio
0a9162e189
Fixed const ref issue for matrix types. Backport from GLM 0.9.5 branch #116
2013-09-17 22:52:37 +02:00
Christophe Riccio
55c242c15c
Added GCC49 detection
2013-09-17 22:51:04 +02:00
Christophe Riccio
da6e485aad
Fixed B /= B.y bug for all assignment operators of matrix classes. #116
2013-09-17 22:27:29 +02:00
Christophe Riccio
b258af3e67
Fixed B /= B.y bug for all assignment operators of vector classes. #116
2013-09-17 21:37:40 +02:00
Christophe Riccio
aa0b2a5e28
Fixed ldexp and frexp implementations
2013-09-17 01:16:00 +02:00
Christophe Riccio
dddcbe58e6
Factorized float to uint and co function code.
2013-09-17 01:06:45 +02:00
Christophe Riccio
4707333a58
Added std::round test
2013-09-16 03:14:44 +02:00
Christophe Riccio
d37d3539ed
- Fixed ldexp implementation
...
- Increased assert coverage
- Increased static_assert coverage
- Replaced GLM traits by STL traits when possible
- Allowed including individual core feature
2013-09-16 03:03:49 +02:00
Christophe Riccio
cd0519d24b
Optimized header inclusion of swizzle operator code. Not included when not enabled
2013-09-16 00:43:24 +02:00
Christophe Riccio
8eea3c7645
Remove tref*
2013-09-16 00:39:19 +02:00
Christophe Riccio
0a23b0a796
Added default template arguments to vector and matrix types
2013-09-15 21:00:14 +02:00
Christophe Riccio
b72ce6addc
Swizzle operators are disabled again by default... :/
2013-09-15 20:44:33 +02:00
Christophe Riccio
1d9e6dc95c
Enabled swizzle operator by default, removed GLM_SWIZZLE and add GLM_SWIZZLE_RELAX for Visual C++ lang extension implementation.
2013-09-15 17:55:05 +02:00
Christophe Riccio
5d66caa7da
Removed vector type functions named swizzle
2013-09-15 14:45:29 +02:00
Christophe Riccio
6838815f9f
Factorized fastInversesqrt code
2013-09-15 14:39:59 +02:00
Christophe Riccio
4bd84e1a0c
Added low precision specializations of inversesqrt
2013-09-15 13:36:05 +02:00
Christophe Riccio
741756f17d
Added comment on implementation details
2013-09-15 12:44:11 +02:00
Christophe Riccio
1a7dfa03ea
Restore value_type member to vectors
2013-09-15 12:41:43 +02:00
Christophe Riccio
79405910bb
Fixed superfluous up normalization in glm::lookAt() #114
2013-09-15 04:17:10 +02:00
Christophe Riccio
ba1ccbaba2
Fixed merge
2013-09-15 03:57:12 +02:00
Christophe Riccio
fadbc78307
Reorder slow functions... still to be tested.
2013-09-15 03:31:38 +02:00
Christophe Riccio
cc02b86fb1
Fixed merge
2013-09-15 03:30:20 +02:00
Christophe Riccio
bb9cc43a6d
Updated CMake instruction set selection
2013-09-15 03:09:10 +02:00
Christophe Riccio
08ada74f36
More precise C++ features detection
2013-09-11 01:06:11 +02:00
Christophe Riccio
5c84e480bf
Fixed warnings generated by GLM_COMPONENT* #113
2013-09-10 00:01:25 +02:00
Christophe Riccio
c038e80e9f
Optimized GTC packing functions
2013-09-09 15:16:14 +02:00
Christophe Riccio
cd186dadb3
Optimized packing and unpacking functions
2013-09-08 17:56:18 +02:00
Christophe Riccio
804078f690
Fixed test against GLM_COMPILER_GCC31 and GLM_COMPILER_VC2005 that doesn't exist in GLM 0.9.5 #111
2013-09-08 15:32:30 +02:00
Christophe Riccio
c9f623e717
Fixed glm::orientation with GLM_FORCE_RADIANS defined #112
2013-09-08 15:23:13 +02:00
Christophe Riccio
966c049ce6
Fixed Snorm2x16 packing
2013-09-08 03:45:30 +02:00
Christophe Riccio
f9b944bd31
Fixed an overload resolution bug generating chains of convertions.
2013-09-08 03:14:31 +02:00
Christophe Riccio
0ff1026dbb
Removed value_type and size_type
2013-09-08 02:30:16 +02:00
Christophe Riccio
d3f0262a27
Fixed .length() that should return a int and not a size_t
2013-09-08 00:25:26 +02:00
Christophe Riccio
b9266c07b0
Using C++ casts
2013-09-08 00:22:17 +02:00
Christophe Riccio
f511121559
Merge nohalf
2013-09-06 02:17:09 +02:00
Christophe Riccio
e413381fad
Merge
2013-09-06 02:14:15 +02:00
Christophe Riccio
16b9c79acc
Added implicit conversion of types with different precision qualifier
2013-09-02 00:16:41 +02:00
Christophe Riccio
635d2d0eca
Fixed GTC_packing build
2013-09-01 18:22:47 +02:00
Christophe Riccio
8e955736ac
Removed GTC_swizzle
2013-08-31 12:00:10 +02:00
Christophe Riccio
36a5f1cc20
Fixed merge
2013-08-31 11:53:05 +02:00
Christophe Riccio
0464c836cb
Fixed merge
2013-08-31 11:50:30 +02:00
Christophe Riccio
7673080359
Clean up unused defines
2013-08-28 11:12:21 +02:00
Christophe Riccio
3948f7d46e
Merge branch '0.9.5' into nohalf
2013-08-28 11:06:29 +02:00
Christophe Riccio
35b0d2afd8
Fixed a Visual C++ 10 bug regarding declaration of templates
2013-08-28 11:06:11 +02:00
Christophe Riccio
4ed278b9c7
Fixed merge
2013-08-28 10:57:51 +02:00
Christophe Riccio
c6062115c6
Removed l-value swizzle operators
2013-08-28 00:13:02 +02:00
Christophe Riccio
4b7862b314
Fixed issues with ref types for l-value swizzle operators
2013-08-27 13:50:55 +02:00
Christophe Riccio
b3d70c635b
Bring back CXXMS and CXX98 code pass for swizzle operators
2013-08-27 12:15:53 +02:00
Christophe Riccio
bc72fafdd9
Removed multiple component selection code
2013-08-27 11:35:58 +02:00
Christophe Riccio
6e82d7ba31
Remove unsupported compiler detection
2013-08-27 11:05:06 +02:00
Christophe Riccio
1de93021bd
Updated compiler detection
2013-08-27 10:50:33 +02:00
Christophe Riccio
4dd2b6893e
Removed multiple code path for vector components
2013-08-27 10:49:04 +02:00
Christophe Riccio
22ab3bd59d
Merge branch '0.9.5' into nohalf
2013-08-27 10:39:34 +02:00
Christophe Riccio
5be36e0ddc
Merge branch 'packing' of https://github.com/g-truc/glm into packing
2013-08-27 10:38:39 +02:00
Christophe Riccio
0330485171
Merge branch '0.9.5' into packing
2013-08-27 10:16:55 +02:00
Christophe Riccio
80f6c06c78
Fixed merge
2013-08-27 10:16:33 +02:00
Christophe Riccio
b1230f2adc
Fixed build
2013-08-26 11:14:46 +02:00
Christophe Riccio
0abec19bc1
Added missing documentation, missing 4x16 half packing functions, added initial tests
2013-08-26 08:28:17 +02:00
Christophe Riccio
fb13e7bf8a
Added unpack 111110 implementation, missing inf and NaN code path
2013-08-26 07:38:34 +02:00
Christophe Riccio
6fd6cf2c8c
Fixed packing implementation function names, added missing (un)PackUnom3x10_1_2 implementations, fixed rounding and clamping on (un)packSnom3x10_1x2 implementations
2013-08-25 22:50:48 +02:00
Christophe Riccio
5645369d56
Fixed packing implementation function names
2013-08-25 22:30:52 +02:00
Christophe Riccio
65d29dddaa
Completed GTC_packing documentation
2013-08-25 22:26:10 +02:00
Christophe Riccio
44f9db1c3b
Added documentation for GTC+packing
2013-08-25 00:02:03 +02:00
Christophe Riccio
965b641722
Added documentation for GTC+packing
2013-08-24 23:38:36 +02:00
Christophe Riccio
59cc657ada
Added documentation for GTC_packing
2013-08-23 00:34:39 +02:00
Christophe Riccio
da95e96fcf
Fixed build on Clang and C++11
2013-08-22 23:24:18 +02:00
Christophe Riccio
1807881509
Added packXNorm documentation
2013-08-21 00:14:02 +02:00
Christophe Riccio
9464e5b590
Added error for unsupported compiler versions
2013-08-20 23:25:38 +02:00
Christophe Riccio
da38a6e58c
Better compiler detection in CMake. Language detection for Clang
2013-08-20 23:07:04 +02:00
Christophe Riccio
53bd892a88
Added 1x8 packing functions. Add documentation for half packing functions.
2013-08-19 00:36:56 +02:00
Christophe Riccio
75a4068c82
Merge branch '0.9.5' into nohalf
2013-08-18 21:55:11 +02:00
Christophe Riccio
79822f932d
Merge branch '0.9.5' into packing
2013-08-18 21:54:41 +02:00
Christophe Riccio
eb9fde1429
Redefined highp_int to int following GLM 0.9.5 conventions
2013-08-18 21:53:11 +02:00
Christophe Riccio
1ab7271e7d
Fixed is_int and is_uint code duplication with GCC and C++11 #107
2013-08-18 21:33:13 +02:00
Christophe Riccio
eb07c880c3
Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.4
2013-08-18 21:12:25 +02:00
Christophe Riccio
caf8f991ca
Fixed detection to select the last known compiler if newer version #106
2013-08-18 21:07:47 +02:00
Christophe Riccio
d0e382592a
Fixed C++0X on VisualC++ 2012+
2013-08-18 19:53:03 +02:00
Christophe Riccio
3091725e92
Merge branch '0.9.5' into nohalf
2013-08-18 19:28:58 +02:00
Christophe Riccio
8f3907400d
Merge branch '0.9.5' into packing
2013-08-18 19:27:15 +02:00
Christophe Riccio
c93ff0a6aa
Fixed merge
2013-08-18 19:25:18 +02:00
Christophe Riccio
4570daf7d2
Fixed merge
2013-08-18 14:06:38 +02:00
Christophe Riccio
25a5c21a24
Initial build with half types removed
2013-08-14 00:55:47 +02:00
Christophe Riccio
54a395abd9
Added Visual C++ 2013 detection
2013-08-13 23:22:16 +02:00
Christophe Riccio
b592d9ff83
Added WINCE detection #92
2013-08-12 23:05:29 +02:00
Christophe Riccio
1951e24cfc
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-08-12 22:45:30 +02:00
Christophe Riccio
bcbffbea58
Fixed merge conflicts
2013-08-12 22:44:31 +02:00
Christophe Riccio
5b525ced24
Back port fix for issue #99
2013-08-12 22:32:39 +02:00
Christophe Riccio
a105876133
Added GTC_packing implementation
2013-08-11 02:16:47 +02:00
Christophe Riccio
cf14790806
Added packF11F11F10 implementation
2013-08-10 19:52:59 +02:00
Christophe Riccio
573712405b
Added declaration for new GTC_packing extension
2013-08-09 00:01:02 +02:00
Jonathan Armond
e841c1dbe0
Add missing non-const value_ptr for quat
2013-07-15 12:06:54 +01:00
Christophe Riccio
2d983ed9cf
Added WINCE detection
2013-07-15 10:18:32 +02:00
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
Jacob Parker
df192a6bcc
remove register specifier, deprecated in C++11
2013-07-14 13:25:03 -04: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
dbb0e5a312
Removed __declspec(align(16)) committed by mistake #91
2013-06-13 16:58:09 +00:00
Christophe Riccio
5f0c0a6f21
Fixed merge
2013-06-13 16:53:22 +00: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
9f1e0cd388
Fixed use of intrinsics in pure mode #92
2013-06-13 16:37:00 +00:00
Christophe Riccio
5b7154468c
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-06-06 21:46:26 +00:00
Christophe Riccio
c1e150e6ec
Added assets in perspective
2013-06-06 00:47:36 +00:00
Felix Ungman
065d9848f7
Fixed operator*(mat4x4, vec4)
...
Calculate Add0, Add1, and Add2 using operator+ (instead of *)
2013-06-03 12:58:44 +02:00
Christophe Riccio
74d1f84e32
Fixed merge
2013-05-28 03:50: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
149df8e3db
Added assert on input values for glm::perspective
2013-05-27 18:29:04 +00:00
Christophe Riccio
cf41c03c94
Fixed merge
2013-05-27 14:54:02 +00: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
edc5365189
Added more missing swizzle operators. #84
2013-05-26 09:57:04 +00:00
Christophe Riccio
1ac4dd648a
Merge branch 'master' into 0.9.4
2013-05-26 09:37:46 +00:00
meejah
3352b45222
Add a missing swizzle, for .xwww
2013-05-22 10:45:30 -06:00
Christophe Riccio
056e053b3f
Fixed merge
2013-05-16 14:36:51 +00:00
Christophe Riccio
b95a53095b
Added assert in inversesqrt to detect division by zero. #61
2013-05-16 14:36:04 +00:00
Christophe Riccio
ef15d06104
Updated doxygen references
2013-05-12 15:51:11 +02:00
Christophe Riccio
0a54eb99b1
Fixed compatibility type, using precision qualifier
2013-05-12 15:50:49 +02:00
Christophe Riccio
01a98e97c1
Fixed perspective with zNear == 0 ( #71 )
2013-05-12 15:36:29 +02:00
Christophe Riccio
1c68cee29b
Clean up code test for branch compatibility on all platforms
2013-05-12 11:40:25 +02:00
Christophe Riccio
9841d2a2b4
Removed SSE tests
2013-05-11 22:40:02 +02:00
Christophe Riccio
929b521381
Added embedded SSE opetimizations in mat4 code
2013-05-11 00:08:55 +02:00
Christophe Riccio
66e3e52592
Fixed increment and decrement operators for matrix types
2013-05-10 23:08:30 +02:00
Christophe Riccio
6487ed1c34
Added assert to row and column functions
2013-05-10 21:52:23 +02:00
Christophe Riccio
1b3d5cd378
Fixed space characters
2013-05-10 21:37:20 +02:00
Christophe Riccio
a2583caa0f
Added vector type operator declarations
2013-05-10 14:03:54 +02:00
Christophe Riccio
a319cff426
Removed scalar functions
2013-05-10 12:36:10 +02:00
Christophe Riccio
28d8e7f251
Fixed increment and decrement operators tests
2013-05-10 01:44:13 +02:00
Christophe Riccio
4a93e0ab70
Fixed explicit empty constructors for specialized half classes
2013-05-09 16:06:59 +02:00
Christophe Riccio
1839858465
Fixed missing typename
2013-05-09 13:46:56 +02:00
Christophe Riccio
691f04e14f
Fixed post in/decrement operators
2013-05-08 21:52:21 +02:00
Christophe Riccio
28c6bba18c
Refacted GTC_angle
2013-05-07 01:20:00 +02:00
Christophe Riccio
929f140b1e
Added GTC_angle extension files
2013-05-07 01:05:45 +02:00
Christophe Riccio
b2e55904b8
Fixed dual quat built on GCC
2013-05-07 01:02:52 +02:00
Christophe Riccio
5338aaac9e
Added half literals
2013-05-07 01:01:56 +02:00
Christophe Riccio
49fbfa051c
Optimized radians and degrees functions
2013-05-06 20:35:13 +02:00
Christophe Riccio
13f27821b9
Completed GTX_multiple for negative values, issue #79
2013-05-06 18:00:06 +02:00
Christophe Riccio
e3da5f952c
Fixed merge
2013-05-06 15:34:37 +02:00
Christophe Riccio
092ccbe64f
Merge branch '0.9.5' of https://github.com/g-truc/glm into 0.9.5
2013-05-05 21:36:41 +02:00
Christophe Riccio
56564badb5
Added tests for issue #72
2013-05-05 21:36:22 +02:00
Christophe Riccio
0d3883c204
Merge pull request #75 from mackron/quat_simd
...
SIMD Quaternions
2013-05-05 09:16:35 -07:00
Christophe Riccio
c795562f67
Renamed gentype::null into gentype::_null for Tizen, #78
2013-05-05 18:06:42 +02: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
281a391b4d
Fixed swizzle build on Visual C++ compiler
2013-05-01 01:54:48 +02:00
Dave Reid
e0cfd7d672
Attempt a small optimization in operator*(fquatSIMD, fvec4SIMD). No big improvement.
2013-04-24 15:00:03 +10:00
Dave Reid
c08ea7656b
Reorganize operator* to makes things a bit clearer.
2013-04-24 14:46:20 +10:00
Dave Reid
1eb88e4bc1
Cleanup.
2013-04-24 14:06:28 +10:00
Dave Reid
c1006718b3
Add fastMix() and fastSlerp() implementations.
...
These have stricter pre-conditions than standard mix() and slerp()
- 1) Input quaternions must be unit length.
- 2) The interpolation factor (a) must be in the range [0, 1]
None of these restrictions should be too bad. The reason for these is that it uses fastAcos()
and fastSin(), both of which have a limited allowable range.
In my contrived tests, I observed about a 10x improvement over the standard versions. This is
mostly because of the faster acos/sin operations. The fastSin(__m128) implementation also helps
here because it can do four fastSin() operations simultaneously using SSE (mix() and slerp()
each need three).
2013-04-24 13:55:38 +10:00
Dave Reid
d07496460a
Add the ability to convert a SIMD quat to a standard mat4.
2013-04-24 09:54:28 +10:00