Christophe Riccio
63ae274be2
Merge pull request #10 from boromisp/master
...
Sphere intersection fixes
2012-11-13 08:51:21 -08: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
f96b0424ec
Merge pull request #5 from komiga/master
...
Fixed component swapping in tmat2x2::_inverse()
2012-11-08 16:00:49 -08: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
5868f20644
Merge pull request #3 from greenboxal/master
...
Visual Studio 2012 Debugger Visualizers
2012-10-13 14:02:07 -07: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
c588e9fa1e
Merge pull request #16 from gigadude/master
...
Fix broken GCC SSE support
2012-09-05 15:03:27 -07:00
Ed Hutchins
311c64c3d3
Fixed SSE detection
2012-09-05 14:48:02 -07:00
Christophe Riccio
485700a546
Updated downloads
2012-06-30 14:45:56 +01:00
Christophe Riccio
5506d67789
Getting GLM 0.9.3.4 release
2012-06-30 14:05:52 +01:00
Christophe Riccio
ac8ec9b97c
Fixed SSE includes with GCC
2012-06-30 01:05:45 +01:00
Christophe Riccio
9bd19663c1
Fixed #186 , fixed warning
2012-06-28 19:45:28 +01:00
Christophe Riccio
3ab80ffe6d
Fixed #187 , fixed bitfieldExtract for vector based type
2012-06-28 19:40:42 +01:00
Christophe Riccio
a979cb483e
Updated readme for GLM 0.9.3.4 release
2012-06-28 19:15:57 +01:00
Christophe Riccio
e26b0587b2
Deleted VIRTREV_xstream
2012-06-28 17:01:02 +01:00
Christophe Riccio
6eeec5c191
Updated index
2012-06-20 15:11:30 +01:00
Christophe Riccio
a5e450cc01
Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3
2012-06-20 15:09:56 +01:00
Christophe Riccio
ba6807b754
Added SSE4 and AVX2 detection, most changes from d9dc21328f
2012-06-03 02:17:36 +01:00
Christophe Riccio
b88c550a10
Updated version for next release
2012-06-03 01:11:35 +01:00
Christophe Riccio
febf667159
Updated links
2012-05-12 15:42:33 +01:00
Christophe Riccio
c4d886a3d6
Updared readme
2012-05-10 00:14:20 +01:00
Christophe Riccio
965873430c
Prepare GLM 0.9.3.3 release
2012-05-09 23:59:42 +01:00
Christophe Riccio
ac0c938442
Fixed VC warning
2012-05-09 22:39:17 +01:00
Christophe Riccio
ff3ad788df
Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3
2012-05-08 20:58:01 +01:00
Christophe Riccio
ade527271e
Fixed transpose test
2012-05-02 13:09:26 +01:00
Christophe Riccio
45f82ab884
Added transpose test
2012-05-02 13:09:17 +01:00
Christophe Riccio
34dc3a6ef6
Fixed matrixCompMult function for none square matrix
2012-05-02 13:07:55 +01:00
Christophe Riccio
6920963069
Updated readme.txt
2012-05-02 11:28:34 +01:00
Christophe Riccio
a5fdf3c1bf
Fixed ticket #182 , isnan and isinf conflicts
2012-04-30 22:23:08 +01:00
Christophe Riccio
928ed30fe0
Fixed namespace issue with stream operators
2012-04-23 15:41:18 +01:00
Christophe Riccio
fb220d3f84
Fixed warnings: cast and redefined defines
2012-04-23 15:34:29 +01:00
Christophe Riccio
4989ad5a97
Fixed android detection #180
2012-04-23 14:58:46 +01:00
Christophe Riccio
17eb14125a
Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3
2012-04-19 11:30:28 +01:00
Christophe Riccio
958bb6f6ca
Fixed GTX_compatibility on Android r7
2012-04-19 11:29:57 +01:00
Christophe Riccio
4585395a89
Added CMake test build options
2012-04-14 18:19:28 +01:00
Christophe Riccio
ac768ea12b
Added an alias (slerp) for mix with quaternions
2012-04-14 15:33:44 +01:00
Christophe Riccio
874a675bb9
Fixed nextafter for float on Intel compiler
2012-04-14 14:45:27 +01:00
Christophe Riccio
535f67e45e
Ticket #176 , workaround for Intel compiler which has a bug with lookAt
2012-04-14 14:32:30 +01:00
Christophe Riccio
a2833dcb3c
Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3
2012-04-06 13:53:14 +01:00
Christophe Riccio
17563f9a28
Fixed perspectiveFov
2012-04-06 13:52:43 +01:00
Christophe Riccio
7373e7b8da
Promote eulerAngles to GTC quaternion extension
2012-04-01 18:19:09 +01:00
Christophe Riccio
fa84c6d1b0
Added length implementation
2012-03-31 11:19:20 +01:00
Christophe Riccio
28ea6eb5c4
Merge pull request #5 from zhumeng1989/mytest
...
Fixed a bug in test/gtx_simd_mat4->test_mulD
2012-03-25 14:01:16 -07:00
Meng Zhu
4479150858
Fixed a bug in test/gtx_simd_mat4->test_mulD
2012-03-24 17:25:33 +08:00
Christophe Riccio
82f86a8057
Added GLM 0.9.3.2 release
2012-03-17 00:04:21 +00:00
Christophe Riccio
cca0dfa3b9
Updated github post
2012-03-10 20:55:29 +00:00
Christophe Riccio
14cfe58ede
Move repository to git
2012-03-10 14:51:37 +00:00
Christophe Riccio
b963dab49d
Removed api doc form the repository
2012-02-19 22:45:51 +00:00