24 Commits

Author SHA1 Message Date
Einar Johan T. Sømåen
f56a340193 MATH: Fix Matrix-compile on clang 2011-11-11 00:18:25 +01:00
Giulio Camuffo
e982124e05 MATH: Fix build on certain compilers. 2011-11-04 21:07:07 +01:00
Giulio Camuffo
1e86d51b1e MATH: Minor Matrix optimisations. 2011-11-04 15:25:22 +01:00
Giulio Camuffo
46a8d461e0 GRIM: Fix bounding box calculation. Fix #391 2011-10-18 17:43:35 +02:00
Giulio Camuffo
f0967439af MATH: Don't normalize zero vectors. Fix #387 2011-10-09 19:14:38 +02:00
Giulio Camuffo
3534129850 MATH: New function to calculate the distance of a point to a rect. 2011-10-04 21:37:39 +02:00
Giulio Camuffo
ba10e07422 MATH: Normalize the angle only if/when requested. 2011-09-30 17:42:26 +02:00
Giulio Camuffo
846afc03a8 MATH: Adapt the angle to the new range. 2011-09-29 22:14:41 +02:00
Giulio Camuffo
b7010c4c1d MATH: Fix wrong angle management when below the lower range boundary. 2011-09-29 22:12:32 +02:00
Giulio Camuffo
7745dcb8a1 MATH: Fix conversion from MatrixBase to Matrix. 2011-09-29 15:31:27 +02:00
Giulio Camuffo
cd6832aad7 MATH: Fix crash with mac osx. Fix #363 2011-09-22 21:39:29 +02:00
Giulio Camuffo
1ae91bd8a9 MATH: Make some global functions static function members. 2011-09-18 19:14:25 +02:00
Giulio Camuffo
59d219c955 MATH: Fix two warnings. 2011-09-18 18:52:44 +02:00
Giulio Camuffo
ee547b8da1 MATH: Speedup. 2011-09-18 18:28:36 +02:00
Giulio Camuffo
f480f8ecc8 MATH: Minor fixes. 2011-09-18 17:10:36 +02:00
Giulio Camuffo
96aaf1ad81 MATH: Use the new Angle class. 2011-09-18 16:23:55 +02:00
Giulio Camuffo
32a669e80b MATH: Add an Angle class. 2011-09-18 16:19:06 +02:00
Giulio Camuffo
243081610a MATH: Call the base constructor with the template arguments. Fix #362 2011-09-17 21:40:37 +02:00
Giulio Camuffo
3fecc996c8 MATH: Renamed the static operators functions. 2011-09-17 18:57:12 +02:00
Giulio Camuffo
d983ec1d8d MATH: Remove redundant license header. 2011-09-15 19:02:47 +02:00
Giulio Camuffo
a900a5ab10 MATH: Further work on the Matrix class.
The vectors are now matrices.
2011-09-14 23:06:14 +02:00
Giulio Camuffo
34a7398293 MATH: Moved Rotation3D to its own file. 2011-09-14 23:06:06 +02:00
Giulio Camuffo
fb359369d8 MATH: New utils.h file with common functions. 2011-09-14 23:06:00 +02:00
Giulio Camuffo
0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00