Christophe Riccio
2f8f070597
Fixed GTC_epsilon with Clang
2012-11-14 12:02:24 +01:00
Christophe Riccio
0b745d4e1c
Clean up space characters
2012-11-13 17:57:42 +01:00
Christophe Riccio
7b60ef7ab4
Merge branch 'master' of https://github.com/g-truc/glm into 0.9.4
2012-11-13 17:55:19 +01:00
Christophe Riccio
214c56cd45
Updated doxygen documentation
2012-11-13 17:54:11 +01:00
Christophe Riccio
63ae274be2
Merge pull request #10 from boromisp/master
...
Sphere intersection fixes
2012-11-13 08:51:21 -08:00
Christophe Riccio
9a4abb07ef
Updated GLM manual for 0.9.4
2012-11-13 13:48:37 +01:00
Christophe Riccio
7778013575
Fixed space characters
2012-11-13 13:19:11 +01:00
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.
2012-11-11 23:53:10 +01:00
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.
2012-11-11 23:41:11 +01:00
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.
2012-11-11 23:09:12 +01:00
Christophe Riccio
4fff9b4367
Added matrix inverse tests and clean up space characters
2012-11-09 03:39:43 +01:00
Christophe Riccio
c9a0b87c7b
Fixed spaces
2012-11-09 01:24:22 +01:00
Christophe Riccio
a69de771a0
Fixed merge
2012-11-09 01:24:04 +01:00
Christophe Riccio
f96b0424ec
Merge pull request #5 from komiga/master
...
Fixed component swapping in tmat2x2::_inverse()
2012-11-08 16:00:49 -08:00
Christophe Riccio
4d3af10700
Fixed space characters
2012-11-08 15:00:50 +01:00
Christophe Riccio
669ace8067
Fixed space character
2012-11-08 14:34:22 +01:00
Christophe Riccio
bfec0e2388
Fixed epsilon for half types
2012-11-06 02:26:31 +01:00
Christophe Riccio
1fb8bec873
Fixed abs function for half based types
2012-11-06 01:23:14 +01:00
Christophe Riccio
cdf5d19275
Fixed space characters, using tab
2012-11-06 00:44:48 +01:00
Christophe Riccio
415c970188
Renamed equalEpsilon function into epsilonEqual and added tests
2012-11-05 19:43:23 +01:00
Christophe Riccio
9d9a625493
Renamed equalEpsilon function into epsilonEqual and added tests
2012-11-05 19:39:22 +01:00
Christophe Riccio
a350a26e3b
Fixed merge
2012-11-04 21:59:53 +01:00
Christophe Riccio
16876bef5a
Fixed merge
2012-11-04 21:57:19 +01:00
Christophe Riccio
1dda2390e5
Fixed warnings on MacOS X
2012-11-04 14:26:54 +01:00
Christophe Riccio
1cc7448c43
Fixed CUDA 5 warning due to parameter name mismatch between the declaration and the definition
2012-11-03 00:34:19 +01:00
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).
2012-10-22 17:23:03 -04:00
Christophe Riccio
1ded040f23
Merge branch 'master' into 0.9.4
2012-10-18 12:16:52 +02:00
Christophe Riccio
44e7f41bf5
Fixed readme
2012-10-18 12:13:21 +02:00
Christophe Riccio
af2debfd43
Fixed spaces
2012-10-18 12:12:32 +02:00
Christophe Riccio
346e305593
Updated doxyfile for version 1.8.0
2012-10-18 12:11:48 +02:00
Christophe Riccio
e1afbc9cea
Merge pull request #22 from progschj/master
...
Multiline comment warning from setup.h
2012-10-18 03:04:29 -07:00
Jakob Progsch
476abb8be0
removed \ from commented out out macro on line 564 to avoid compiler warnings for multiline comments
2012-10-18 11:56:54 +02:00
Christophe Riccio
9e6a23aaed
Merge branch 'master' of https://github.com/g-truc/glm into 0.9.4
2012-10-13 23:04:00 +02:00
Christophe Riccio
5868f20644
Merge pull request #3 from greenboxal/master
...
Visual Studio 2012 Debugger Visualizers
2012-10-13 14:02:07 -07:00
Christophe Riccio
d18a415ddd
Updated readme with Apple platform update
2012-10-13 22:47:49 +02:00
Christophe Riccio
c899d63725
Fixed Clang and LLVM GCC detection
2012-10-13 18:26:04 +02:00
Christophe Riccio
88092b1c19
Merge branch '0.9.4' of https://github.com/g-truc/glm into 0.9.4
2012-10-09 20:36:31 +02:00
Christophe Riccio
3647c867e5
updated spaces
2012-10-09 20:36:02 +02:00
Jonathan Lima
7d9c22094c
Added debbugger visualizers for Visual Studio 2012.
...
Signed-off-by: Jonathan Lima <greenboxal@gmail.com>
2012-10-05 11:56:50 -03:00
Christophe Riccio
e7233b20a8
Merge branch 'master' of https://github.com/Groovounet/glm into 0.9.4
2012-09-25 00:28:42 +02:00
Christophe Riccio
5adff62c34
Merge pull request #19 from cneumann/master
...
Replacement FindGLM.cmake that follows cmake module guidelines a bit more
2012-09-24 15:27:22 -07:00
Carsten Neumann
ed2f46f2fa
make FindGLM.cmake more compliant with cmake module recommendations
2012-09-24 15:20:02 -05:00
Christophe Riccio
b9d9ae4ec5
updated CLang version detection
2012-09-23 15:30:17 +01:00
Christophe Riccio
8b5e63375f
updated CLang version detection
2012-09-23 15:27:47 +01:00
Christophe Riccio
3fc42c9e9e
Simplify Compilation build model detection
2012-09-20 17:31:32 +02:00
Christophe Riccio
8aa2eafc36
Added experiment in comment to auto detect the instruction set
2012-09-20 16:35:10 +02:00
Christophe Riccio
8c4ea6ebb2
Fixed isnan on GCC
2012-09-20 12:28:12 +02:00
Christophe Riccio
c6d87a9458
Added compiler detection
2012-09-20 11:40:15 +02:00
Christophe Riccio
1eac545656
Fixed Intel compiler detection
2012-09-20 10:28:39 +02:00
Christophe Riccio
b012c80771
Fixed isnan for Intel compiler
2012-09-20 10:17:03 +02:00