25 Commits

Author SHA1 Message Date
Thomas N McEwan 1afbbf9439 MATH: Make sequence of vector2d & vector3d member declarations more consistent for better readability & comparison. 2025-08-25 22:55:34 +01:00
Cameron Cawley 288e1aaa3f COMMON: Remove use of fmin/fmax/fminf/fmaxf 2024-01-08 13:07:05 +01:00
Matthew Duggan 692a2e166e MATH: Make Vector3d::length const correct 2022-10-15 14:31:00 +09:00
Paweł Kołodziejski 78d4217ddb MATH: Janitorial 2022-06-20 00:19:40 +02:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Le Philousophe 7259ad3535 MATH: Fix build failure by adding squre matrix specialization 2021-12-26 19:35:56 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski dcce1f670d MATH: Implement vector3d and matrix3 multiplication 2021-12-26 18:44:49 +01:00
Paweł Kołodziejski 881b477e83 MATH: Added length and interpolate helpers for Vector3d 2021-10-18 07:48:33 +02:00
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