Dave Reid
efff3add87
Add support for doing a (0.0, 0.0, 0.0, 0.0) initialization in the default constructor of fvec4SIMD().
...
This is disabled by default, but enabled with GLM_SIMD_ENABLE_DEFAULT_INIT. This makes toggling between SIMD and non-SIMD builds a bit easier.
ago%!(EXTRA string=13 years)
Dave Reid
87c90590be
Add support for x,y,z,w accessors to fvec4SIMD.
...
This is done via a union. It must be enabled with GLM_SIMD_ENABLE_XYZW_UNION. A nameless struct/union warning in VC (C4201) is explicitly disabled with the "pragma warning(push/pop)" system.
Allowing xyzw access makes it much easier to toggle between SIMD and non-SIMD builds.
ago%!(EXTRA string=13 years)
Christophe Riccio
560b474008
Fixed quat slerp using mix function when cosTheta close to 1
ago%!(EXTRA string=13 years)
Christophe Riccio
0b41846700
Fixed speeling
ago%!(EXTRA string=13 years)
Christophe Riccio
c19dda3797
Fixed quaternion interpolation when cosTheta is close to zero
ago%!(EXTRA string=13 years)
Christophe Riccio
443f62bb08
Fixed issue #19 , fixed -0.0 with half
ago%!(EXTRA string=13 years)
Christophe Riccio
739ab3529c
Resolved issue #4 , added GLM_GTX_rotate_normalized_axis
ago%!(EXTRA string=13 years)
Christophe Riccio
8a291a9dc2
Fixed bug #14 , fixed constexpr
ago%!(EXTRA string=13 years)
Christophe Riccio
841f91e830
Fixed bug #15 , added missing roll, pitch and yaw functions; Fixed half implicit conversions
ago%!(EXTRA string=13 years)
Christophe Riccio
931b7bcdd6
Fixed issue #18 glm::clamp and NaN's
ago%!(EXTRA string=13 years)
Christophe Riccio
a7fb9f31fd
Fixed bug #13 , ICC built on Linux
ago%!(EXTRA string=13 years)
Christophe Riccio
c7fa6d745a
Revert previous change trying to fix bug #13 : Break the build on Windows...
ago%!(EXTRA string=13 years)
Christophe Riccio
7e0288359f
Tentative of fixing bug #13 , nextafter on Intel compiler
ago%!(EXTRA string=13 years)
Christophe Riccio
b8f30c5ad3
Fixed bug #11 , added missing quat based epsilonEqual and epsilonNotEqual definitions
ago%!(EXTRA string=13 years)
Christophe Riccio
47b610c6d3
Clean up doxygen documentation
ago%!(EXTRA string=13 years)
Christophe Riccio
4b18cc7051
Clean up doxygen documentation... was exposing implementation details
ago%!(EXTRA string=13 years)
Christophe Riccio
2f8f070597
Fixed GTC_epsilon with Clang
ago%!(EXTRA string=13 years)
Christophe Riccio
0b745d4e1c
Clean up space characters
ago%!(EXTRA string=13 years)
Christophe Riccio
214c56cd45
Updated doxygen documentation
ago%!(EXTRA string=13 years)
Christophe Riccio
7778013575
Fixed space characters
ago%!(EXTRA string=13 years)
boromisp
1683e78f58
Fixed the line-sphere intersection
...
The original implementation had the same mistakes than the ray-sphere
intersection.
Added two new 'out' parameters to return both intersection ponits.
Changed the implementation to the geomethric method.
ago%!(EXTRA string=13 years)
boromisp
ed12134f34
Fixed the original ray-sphere intersection
...
Changed the original analytic method to a geometrical.
The errors in the original intersection calculation:
The function has a sphere center parameter, but ignores it and assumes
that the sphere is in the origo.
It calculates the length of the ray direction vector, but later on uses
this vector as a unit vector.
The position calculation is simply wrong. It multiplies the direction
vector with the radius of the sphere instead of the calculated
intersection distance.
The quadratic equation solving could be improved too:
There should be an early exit for negative discriminant.
The naive implementation sould be changed to a floating-point
specialized one.
ago%!(EXTRA string=13 years)
boromisp
3a3c1fd8e8
Added new ray-sphere intersection
...
This version uses a geometric method (usually faster) and doesn't
calculate the intersection position and normal, only the distance.
ago%!(EXTRA string=13 years)
Christophe Riccio
4fff9b4367
Added matrix inverse tests and clean up space characters
ago%!(EXTRA string=13 years)
Christophe Riccio
c9a0b87c7b
Fixed spaces
ago%!(EXTRA string=13 years)
Christophe Riccio
4d3af10700
Fixed space characters
ago%!(EXTRA string=13 years)
Christophe Riccio
669ace8067
Fixed space character
ago%!(EXTRA string=13 years)
Christophe Riccio
bfec0e2388
Fixed epsilon for half types
ago%!(EXTRA string=13 years)
Christophe Riccio
1fb8bec873
Fixed abs function for half based types
ago%!(EXTRA string=13 years)
Christophe Riccio
9d9a625493
Renamed equalEpsilon function into epsilonEqual and added tests
ago%!(EXTRA string=13 years)
Christophe Riccio
16876bef5a
Fixed merge
ago%!(EXTRA string=13 years)
Christophe Riccio
1dda2390e5
Fixed warnings on MacOS X
ago%!(EXTRA string=13 years)
Christophe Riccio
1cc7448c43
Fixed CUDA 5 warning due to parameter name mismatch between the declaration and the definition
ago%!(EXTRA string=13 years)
Tim Howard
e2bc911f00
Fixed component swapping in tmat2x2::_inverse().
...
NB: glm::detail::tmat2x2::_inverse() incorrectly swaps all components instead of only main diagonals:
A = ⌈a b⌉
⌊c d⌋
(using standard representation). _inverse() on A incorrectly gives the order
⌈ d -c⌉
⌊-b a⌋
(swaps both diagonals) where it should be
⌈ d -b⌉
⌊-c a⌋
(I am leaving out division by the determinate for clarity).
Also, glm::inverse() in `glm/core/func_matrix.inl` is correct for 2x2 matrices and shows the mistake of _inverse().
The unit tests do not appear to test division of a mat2 by a mat2 (where this could arise).
ago%!(EXTRA string=13 years)
Christophe Riccio
af2debfd43
Fixed spaces
ago%!(EXTRA string=13 years)
Jakob Progsch
476abb8be0
removed \ from commented out out macro on line 564 to avoid compiler warnings for multiline comments
ago%!(EXTRA string=13 years)
Christophe Riccio
c899d63725
Fixed Clang and LLVM GCC detection
ago%!(EXTRA string=13 years)
Christophe Riccio
b9d9ae4ec5
updated CLang version detection
ago%!(EXTRA string=13 years)
Christophe Riccio
8b5e63375f
updated CLang version detection
ago%!(EXTRA string=13 years)
Christophe Riccio
3fc42c9e9e
Simplify Compilation build model detection
ago%!(EXTRA string=13 years)
Christophe Riccio
8aa2eafc36
Added experiment in comment to auto detect the instruction set
ago%!(EXTRA string=13 years)
Christophe Riccio
8c4ea6ebb2
Fixed isnan on GCC
ago%!(EXTRA string=13 years)
Christophe Riccio
c6d87a9458
Added compiler detection
ago%!(EXTRA string=13 years)
Christophe Riccio
1eac545656
Fixed Intel compiler detection
ago%!(EXTRA string=13 years)
Christophe Riccio
b012c80771
Fixed isnan for Intel compiler
ago%!(EXTRA string=13 years)
Christophe Riccio
b1ecabdd28
Fixed GTX_matrix_interpolation, issue #9
ago%!(EXTRA string=13 years)
Christophe Riccio
7e3f00d034
Added missing test files
ago%!(EXTRA string=13 years)
Christophe Riccio
c2eea6da26
Removed floor_log2, comment that isnan and isinf are not working on MinGW
ago%!(EXTRA string=13 years)
Christophe Riccio
56738ee5cb
Added idea for SSE2 implementation of findMSB
ago%!(EXTRA string=13 years)
Christophe Riccio
8a7d6080d1
Fixed findMSB generic path
ago%!(EXTRA string=13 years)