Commit Graph

12 Commits

Author SHA1 Message Date
Christian Krause
082e792460 MATH: Refactor Line2d
- use standard linear equation Ax + Bx = C
- simplify most calculations
- remove default constructor
- remove unused function
2020-12-08 19:26:25 +01:00
Christian Krause
f2195d8dbf MATH: Make implementation of Segment2d more robust
- prevent division by zero
2020-12-08 19:09:08 +01:00
Paweł Kołodziejski
e2cd2e6ed7 COMMON: Rename Common::Debug to Common::StreamDebug 2020-10-16 21:47:16 +02:00
Dries Harnie
dbf3b2e5f8 JANITORIAL: Fix missing reference in Math::{Line2d,Angle} 2014-04-21 14:22:01 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Giulio Camuffo
d2f4bf83db MATH: Add a stream debug operator for Line2d. 2013-01-09 18:42:23 +01:00
Giulio Camuffo
00a42f3d85 MATH: Fix Line2d intersection functions. Fix #682 2013-01-09 18:27:07 +01:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Pawel Kolodziejski
626e91f23a rename -> ResidualVM 2012-01-06 23:15:48 +01: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
f480f8ecc8 MATH: Minor fixes. 2011-09-18 17:10:36 +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