Christophe Riccio
d1afe662be
More consistent coding style
2017-08-15 21:59:47 +02:00
Christophe Riccio
a805fb9d68
Renamed precision enum to qualifier
2017-08-15 21:23:47 +02:00
Christophe Riccio
36c196b195
Fixed warnings
2017-08-10 02:25:37 +02:00
Christophe Riccio
5d77861141
Fixed warnings
2017-08-09 22:40:33 +02:00
Christophe Riccio
ac8d625d23
Fixed warnings
2017-08-08 23:54:30 +02:00
Christophe Riccio
1bfc198625
Fixed warnings
2017-08-08 23:32:52 +02:00
Christophe Riccio
276a7beb19
Fixed warnings
2017-08-08 11:30:21 +02:00
Christophe Riccio
36178f91e9
More use of GLM constants
2017-08-07 17:28:56 +02:00
Christophe Riccio
c933f6e591
Clean up GLM_FORCE_NO_CTOR_INIT and fixed tests
2017-07-25 22:15:55 +02:00
Christophe
a61483b34a
Merge pull request #659 from CaptainCarrot/QuatLookAt
...
Added a quaternion-based "Look At" function #659
2017-07-24 12:05:18 +02:00
Christophe Riccio
50a527c97d
- Fixed integer pow from GTX_integer with null exponent #658
2017-07-24 11:39:16 +02:00
CaptainCarrot
df7f6cc03c
Update gtx_quaternion.cpp
2017-07-22 17:20:45 +02:00
CaptainCarrot
9a21766906
Update gtx_quaternion.cpp
2017-07-22 17:10:31 +02:00
CaptainCarrot
7223cd1b47
Add files via upload
2017-07-22 17:08:49 +02:00
Christophe Riccio
566d20e8cf
Fixed GTX_matrix_factorisation tests to return the number of errors #654
2017-07-07 09:58:34 +04:30
Vincent Aymong
a4a6ea2825
std::abs instead of just abs. Fixes compilation issues with gcc.
2017-07-06 19:17:55 -04:00
Vincent Aymong
f9962054d9
Make C++98 compliant
2017-07-06 17:45:40 -04:00
Vincent Aymong
80bd3f16c1
More comments
...
Fix RQ test
Slight optimisation in QR
2017-07-06 15:01:19 -04:00
Vincent Aymong
d6abdb7935
Implements QR and RQ matrix decomposition functions.
2017-07-05 18:52:46 -04:00
Christophe Riccio
26b3e3ed78
Fixed axisAngle NaN #638
2017-06-24 12:43:00 +02:00
Christophe Riccio
40398d67cd
Added vec2 cross #621
2017-04-08 19:37:20 +02:00
Christophe Riccio
c2fe3fccf6
Use length_t instead of int for vec and mat lengths #584
2016-12-30 20:05:04 +01:00
Christophe Riccio
b92fdf5a59
matrix type Parameterize on dimensions #584
2016-12-30 16:00:25 +01:00
Christophe Riccio
947b07cbc4
remove template alias for more compiler support and simplified swizzle expression implementation #584
2016-12-30 01:23:29 +01:00
John McFarlane
506a487d24
parameterize number of dimensions of vector in tvec<D, T, P>
...
- specializes for 1, 2, 3 and 4-dimensional vector types
which are then aliased as tvec1, tvec2, tvec3 and tvec4
- requires C++11 aliases; breaks compatability with C++03
- tested on:
- clang-3.5.2, clang-3.8.0
- gcc 4.8.5, gcc 5.4.1, gcc 6.2.0
TODO:
- still uses template template parameters - most can probably be removed
- some definitions might now be de-duplicated
2016-12-28 17:07:12 -08:00
Christophe Riccio
58c5e0ef4d
Fixed intersectRayTriangle #6
2016-11-25 00:33:45 +01:00
Christophe Riccio
1a95482b50
Optimized taylorCos
2016-11-21 00:06:05 +01:00
Christophe Riccio
5b9d5cae99
Fixed tests
2016-11-20 22:28:22 +01:00
Christophe Riccio
572e407d60
Fixed build
2016-11-20 22:10:11 +01:00
Christophe Riccio
d4019aab40
Moved color_encoding to experimental
2016-11-20 21:50:12 +01:00
Christophe Riccio
6482dd29d2
Added GLM_ENABLE_EXPERIMENTAL
2016-11-12 14:19:22 +01:00
Christophe Riccio
a17f795aaf
Added GTX_vec_swizzle, faster compile time swizzling then swizzle operator #558
2016-11-01 22:36:49 +01:00
Christophe Riccio
44a981ea68
Merge 0.9.8
2016-11-01 09:16:29 +01:00
Christophe Riccio
c4f52dc98f
Added test for quat type component length() static #565
2016-11-01 09:14:28 +01:00
Christophe Riccio
55d7fa2775
Merge branch '0.9.8'
2016-08-06 19:28:34 +02:00
Christophe Riccio
edc328c7c9
Fixed GTX_wrap #534 , improved GTX_wrap for SIMD friendliness
2016-08-06 19:28:16 +02:00
Christophe Riccio
ecc91d4361
Merge 0.9.8 branch
2016-07-17 11:52:15 +02:00
Christophe Riccio
4ab9776756
Fixed build error
2016-07-17 03:43:56 +02:00
Christophe Riccio
630f0840f2
Removed 0.9.8 deprecated extensions
2016-07-16 23:46:41 +02:00
Christophe Riccio
6a6b54b699
Fixed long long warnings, fixed precision qualifier values on Clang where qualifiers had the same values
2016-07-16 22:34:07 +02:00
Christophe Riccio
0e1e181484
Clean up
2016-06-10 23:14:17 +02:00
Christophe Riccio
96963f88cc
Single file for simd specialization
2016-05-01 05:00:13 +02:00
Christophe Riccio
5f05a5e953
Clean up inverse SSE code
2016-05-01 03:42:47 +02:00
Christophe Riccio
23ab8137f9
Fixed GTX_type_trait linking
2016-04-30 01:59:46 +02:00
jan p springer
e54f0cc5cd
Merge remote-tracking branch 'upstream/master'
2016-04-05 23:48:48 +01:00
Christophe Riccio
66b714c418
Finishing up removing GLM_FORCE_SIZE_FUNC define and passing by copy scalars
2016-03-23 02:01:16 +05:30
jan p springer
25d6c8e341
update: date stamps + GLM_META_PROG_HELPERS pre-requiste
2016-03-14 16:37:30 +00:00
jan p springer
ca7a4ed4fe
Merge remote-tracking branch 'upstream/master'
2016-03-14 12:35:35 +00:00
Christophe Riccio
07689bcc4d
Fixed build, updated manual for 0.9.8
2016-03-13 13:17:51 +01:00
Christophe Riccio
234d7d4ba9
Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait
2016-03-13 12:56:26 +01:00
Christophe Riccio
e9febd9ee7
Fixed log from GTX_lob_base build error with tests #470 , #471
2016-01-01 14:30:14 +01:00
jan p springer
71f2b2f422
Merge remote-tracking branch 'upstream/master'
2015-12-02 20:13:33 +00:00
Christophe R
45f8edf2bc
Merge pull request #438 from rleigh-dundee/msbuild-error
...
test: Don't use 'Error:' or 'error:' in test output #438
2015-11-17 10:52:40 +01:00
jan p springer
2547d14240
fixed: ostream operators
2015-10-29 17:56:08 +00:00
Roger Leigh
a59aaea29d
test: Don't use 'Error:' or 'error:' in test output
...
This is parsed by msbuild when using Visual Studio project
files, and will automatically fail the build if encountered.
This is a bug (or badly designed intentional behaviour) in
msbuild. See
http://blogs.msdn.com/b/dsvc/archive/2012/02/29/output-from-exec-task-resulting-in-build-failure.aspx
for further details.
2015-10-22 14:25:33 +00:00
Christophe Riccio
8508e099d0
Fixed compScale test
2015-10-08 23:49:43 +02:00
Christophe Riccio
869caacac5
Merge branch 'static-const' of https://github.com/g-truc/glm into static-const
2015-10-07 22:32:59 +02:00
Christophe Riccio
9902e3014f
Fixed GTX_extended_min_max build
2015-10-07 22:32:12 +02:00
Christophe R.
143c4c336a
Merge pull request #429 from JesseTG/jtg/static-const
...
Add GLM_STATIC_CONST_MEMBERS #429
2015-10-07 22:28:49 +02:00
Jesse Talavera-Greenberg
e55eb1e08b
Removed ambiguity in fmat4x4 constructor
2015-10-07 16:12:45 -04:00
Christophe Riccio
2d1463ced7
Fixed GTX_extended_min_max filename typo #386
2015-10-07 22:04:33 +02:00
Christophe Riccio
b0285416b0
Fixed GTX_extended_min_max filename typo #386
2015-10-07 21:58:58 +02:00
Jesse Talavera-Greenberg
57e6ea071d
Add simdMat4 static constants
...
- Tests, too
2015-10-05 19:31:17 -04:00
Jesse Talavera-Greenberg
d1cdb46cfb
Wrap tquat's, simdQuat's and simdVec4's static constants in GLM_STATIC_CONST_MEMBERS
...
- Also, fixed indentation
2015-10-05 18:27:07 -04:00
Christophe Riccio
bc170cfc0f
Fixed GTX_component_wise
2015-09-28 19:42:28 +02:00
Christophe Riccio
26f1065429
Added compScale
2015-09-28 19:23:16 +02:00
Christophe Riccio
a9ab80d5fd
Added compNormalize function to GTX_component_wise
2015-09-25 03:14:11 +02:00
Christophe Riccio
998feff87e
Added GTX_float_normalize
2015-09-25 02:39:41 +02:00
Christophe Riccio
0dd4cc4356
Fixed test
2015-09-06 21:52:22 +02:00
Christophe Riccio
992a56089b
Fixed excessive GTX_fast_trigonometry execution time #396
2015-09-06 21:36:05 +02:00
Christophe Riccio
70234afb49
Fixed warnings
2015-08-31 18:12:26 +02:00
Christophe Riccio
debed28149
Fixed link errors on compilers not supported default function #377
2015-08-31 18:01:51 +02:00
Christophe Riccio
1e502c0919
Fixed decompose warnings #373
2015-08-01 11:35:57 +02:00
Christophe R.
37d4ca9c4c
Merge pull request #368 from JesseTG/jtg/oops-sorry
...
Fixed some of my own metaprogramming-helper mistakes #368
2015-07-25 23:28:38 +02:00
Christophe Riccio
53e494bea9
Removed GTX_multiple
2015-07-25 23:23:03 +02:00
Jesse Talavera-Greenberg
2a947b7ff1
Add GLM_META_PROG_HELPERS tests to each type
...
- Add new tests to the matrix types
- Add vector tests to use the static values instead of constants
- Wrap the quaternion tests in #ifdefs
- Add new tests to the simdMat4 and simdVec4 tests
2015-07-25 14:33:01 -04:00
Christophe Riccio
b55ff22719
Fixed test
2015-07-24 01:47:54 +02:00
Christophe Riccio
034d32c376
Fixed tests
2015-07-24 01:32:51 +02:00
Christophe Riccio
76bd630bbd
Fixed isfinite with C++98 compilers #343
2015-07-19 16:32:36 +02:00
Christophe Riccio
357eaf7071
Fixed warnings
2015-07-18 10:00:00 +02:00
Christophe Riccio
0141954756
Added mirror repeat
2015-06-27 20:12:27 +02:00
Christophe Riccio
ff1f50bb15
Added GTX_wrap
2015-06-27 19:36:03 +02:00
Christophe Riccio
08eedc6209
Added experiment for new fastCos. More sRGB tests.
2015-06-27 18:36:17 +02:00
Christophe Riccio
042270d049
Added 'fmod' overload to GTX_common with tests, Removed integer specification for 'mod' in GTC_integer #308
2015-02-15 12:38:23 +01:00
Christophe Riccio
4eec569f92
Disabled GTX_scalar_multiplication for GCC, failing to build tests #242
2015-01-10 13:45:41 +01:00
Christophe Riccio
fc8b4404f0
Fixed faceforward build #289
2014-12-19 23:54:25 +01:00
Christophe Riccio
4340f3fa6f
Fixed C++ language restriction using GLM_FORCE_CXX**
2014-12-10 21:29:41 +01:00
Christophe Riccio
c556770a32
Fixed C++98 only build
2014-12-10 02:52:30 +01:00
Christophe Riccio
a42f84ed47
Removed GLM_TEST_ENABLE_PERF
2014-11-29 20:46:58 +01:00
Christophe Riccio
3f48ffefb0
Updated license
2014-11-26 00:27:12 +01:00
Christophe Riccio
c20df07879
Updated license
2014-11-25 22:25:24 +01:00
Christophe Riccio
97182990a7
Move GTC_type_aligned to GTX extensions
2014-11-23 21:00:17 +01:00
Christophe Riccio
7621a735a3
Move GTC_type_aligned to GTX extensions
2014-11-23 20:58:09 +01:00
Christophe Riccio
9c65087f90
Fixed build on VC2010
2014-11-16 01:13:01 +01:00
Christophe Riccio
b90c4c430e
Added GLM_HAS_TRIVIAL_QUERIES define
2014-11-15 21:59:46 +01:00
Christophe Riccio
5960196ce8
Clean up white spaces, fix build with VC15
2014-11-15 20:36:53 +01:00
Christophe Riccio
3716995414
Fixed white spaces
2014-11-15 00:56:14 +01:00
Christophe Riccio
141c1856a7
Removed <iostream> in GLM tests, use <cstdio> instead
2014-11-15 00:49:12 +01:00
Christophe Riccio
d606eaf2da
Clean up white spaces
2014-11-15 00:32:40 +01:00
Christophe Riccio
191dbe92dc
Added dualquat trivially copyable test. #263
2014-11-15 00:30:28 +01:00
Christophe Riccio
0b8ca1a5b6
Added a CMake option to execute GLM performance tests. Made quat and dualquat trivially constructible #263
2014-11-15 00:05:52 +01:00
Christophe Riccio
b7b8b18f83
performance test for fast_trigonometry #265
2014-11-14 21:36:59 +01:00
Mathias Labeyrie
b3bdf83bd8
rename some vars
2014-11-05 15:24:47 +01:00
Mathias Labeyrie
ef1c33d2d5
test perf fastAtan
2014-11-05 15:20:53 +01:00
Mathias Labeyrie
a7b3fca0b2
test perf fastAsin
2014-11-05 15:06:07 +01:00
Mathias Labeyrie
43387c81de
test perf fastAcos
2014-11-05 15:05:33 +01:00
Mathias Labeyrie
c4b5fa2a93
test perf fastTan
2014-11-05 15:02:26 +01:00
Mathias Labeyrie
74cfc7451a
test perf fastSin
2014-11-05 15:02:17 +01:00
Mathias Labeyrie
183c7141e2
performance test for glm::fastCos
2014-11-05 14:44:51 +01:00
Christophe Riccio
41c00872a1
Fixed GCC build
2014-11-01 23:35:10 +01:00
Christophe Riccio
d3b368b65c
Added GTC_integer, deprecated GTX_bit
2014-10-26 19:22:19 +01:00
Christophe Riccio
eaa3b72b99
Added isPowerOfTwo tests
2014-10-26 17:43:54 +01:00
Christophe Riccio
8dd3ec02ea
Removed bitRevert, duplicated of bitfieldReverse
2014-10-26 16:56:31 +01:00
Christophe Riccio
087d6292e3
Added GTC_bitfield extension, promoted GTX_bit
2014-10-26 00:22:08 +02:00
Christophe Riccio
0c522117c8
Opimization of mask, bitfieldInsert, bitfieldExtract and bitCount
2014-10-25 21:16:49 +02:00
Christophe Riccio
4fc68ffe49
Replace function instanciations with macros by templates
2014-10-20 03:26:59 +02:00
Christophe Riccio
c2d542562e
Fixed GLM_FORCE_SIZE_FUNC support overlook #245 . Added uninitiallized constructor to quaternion. Fixed lack of conscistency or quaternion constructors with other types. Various uninitilized constructor optimizations
2014-10-12 01:24:28 +02:00
Christophe Riccio
75939a7960
Fixed GTX_string_cast to support for integer types #249
2014-10-10 01:21:04 +02:00
Christophe Riccio
f9484a6e9f
- Moved template types from 'detail' to 'glm' namespace #239 , #244
2014-10-05 19:37:07 +02:00
Christophe Riccio
7ab7d4beb8
Merge pull request #240 from Jaxan/range
...
Range support #240
2014-10-05 14:24:19 +02:00
Christophe Riccio
a00fc3fdf4
Enable only GLM_GTX_scalar_multiplication for C++11 compiler #242
2014-10-05 13:26:02 +02:00
Joshua Moerman
62ac07815c
Adds scalar multiplication for all types
2014-09-22 10:03:18 +02:00
Joshua Moerman
77c704e210
Adds range support
2014-09-19 16:27:23 +02:00
Christophe Riccio
46e61b4f07
Added test for fastSin #231
2014-09-16 01:35:29 +02:00
Christophe Riccio
ec513f4466
Added GTX_common with isdenomal #223
2014-09-07 20:53:35 +02:00
Christophe Riccio
ac3c2e37f1
Rely on STL functions for GLM functions using the same prototype #233
2014-09-06 01:45:13 +02:00
Christophe Riccio
eabeb0471b
Merge branch '0.9.6'
2014-08-31 18:37:14 -04:00
Christophe Riccio
67c62d8b1c
Merge branch '0.9.6' of https://github.com/g-truc/glm into 0.9.6
2014-08-31 18:12:53 -04:00
Christophe Riccio
3b7aadc2e3
Added initial commit for GLM_GTX_matrix_decompose #227
2014-08-31 18:12:38 -04:00
Christophe Riccio
2b747cbbad
Removed last references to GLM_FORCE_RADIANS
2014-08-04 00:10:12 +02:00
Christophe Riccio
7fe8a1944c
Fixed fastDistance ambiguity #215
2014-06-20 01:09:50 +02:00
Christophe Riccio
c440b9515a
Merge io for GLM types #144
2014-06-15 22:52:23 +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
e33136538d
- Fixed eulerAngle*** not consistent for right-handed coordinate system ( #173 )
2014-03-31 23:50:15 +02:00
Christophe Riccio
12cde2bf75
Added eulerAnglesX tests
2014-03-31 02:00:51 +02:00
Christophe Riccio
ae2af04599
Updated release with GTX_matrix_transform_2d and added blank unit test file for the extension. ( #176 , #178 )
2014-02-21 02:18:53 +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
d7862e4bb5
Fixed SSE code included in GLM tests on pure platforms
2014-01-14 14:07:09 +01:00
Christophe Riccio
aeba3c6fe7
Quiet most GLM_FORCE_RADIANS messages
2014-01-11 21:12:53 +01:00
Christophe Riccio
ccb25c84c7
Update copyright year
2014-01-04 22:32:28 +01:00
Christophe Riccio
e5f8ebbfd7
Tests to reproduce bug #135 , could not reproduce it
2013-12-26 20:38:28 +01:00
jan p springer
39179ba1ad
un/formatted() usage to un/formatted
2013-12-26 15:15:53 +00:00
Christophe Riccio
fd256dfaa8
Updated GLM manual with per feature headers. Fixed io.
2013-12-25 23:21:46 +01:00
Christophe Riccio
9f8112f93a
Reduced dependencies of GTX extensions. Removed some deprecated code.
2013-12-25 04:16:08 +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
fa56944171
Fixed GTX_io test
2013-12-16 23:59:20 +01:00
jan p springer
0f66a02c2a
added: op<< for glm types
2013-11-22 23:48:58 +00:00