Commit Graph

16 Commits

Author SHA1 Message Date
Paweł Kołodziejski
161c42c118
MATH: Formatting cleanup 2021-04-05 23:08:48 +02:00
Christian Krause
27a7952679 MATH: make Angle class more robust
- clamp some intermediate values to the defined range
  which could be slightly violated due to floating point rounding
2020-12-08 19:30:04 +01:00
Bastien Bouclet
40720abde2 COMMON: Remove now unused ResidualVM specific float handling 2018-04-14 13:57:05 +02:00
Vincent Pelletier
84f83fe6ea ALL: Rename get_float to READ_LE_FLOAT
For consistency with other functions/macros from common/endian.h .
2017-05-12 13:57:16 +00:00
Joseph Jezak
78772c999b MATH: Rename getVector3d and add comments for the Vector3d class. 2014-07-01 11:27:02 -04:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Giulio Camuffo
2148c729f1 MATH: Unify VectorNd::readFromStream. 2012-01-30 21:57:06 +01:00
Einar Johan T. Sømåen
74047546a0 MATH: Add stream-reading to the vector-classes 2012-01-30 21:04:08 +01:00
Pawel Kolodziejski
626e91f23a rename -> ResidualVM 2012-01-06 23:15:48 +01:00
Giulio Camuffo
062cf9292f MATH: Use a one-dimensional array for the matrix data. Should fix #414 2011-11-20 15:17:41 +01:00
Giulio Camuffo
1e86d51b1e MATH: Minor Matrix optimisations. 2011-11-04 15:25:22 +01:00
Giulio Camuffo
1ae91bd8a9 MATH: Make some global functions static function members. 2011-09-18 19:14:25 +02:00
Giulio Camuffo
96aaf1ad81 MATH: Use the new Angle class. 2011-09-18 16:23:55 +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
0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00