Commit Graph

11 Commits

Author SHA1 Message Date
Klaus Basan
7b546c7dba Fixes 2,4,6 refs #287
https://dev.vatsim-germany.org/issues/287#note-14
2014-07-11 15:12:44 +02:00
Klaus Basan
d8ca4241af refs #291, bearing
* method to calculate bearing between coordinates
* Helper methods to normalize degrees (0..360deg), e.g. -10deg -> 350deg
2014-07-11 01:20:16 +02:00
Klaus Basan
2cdc2abeb5 CMath::epsilonEqual fuzzy comparison function for doubles
refs #81
2014-01-08 00:59:19 +00:00
Klaus Basan
b0e212998f degree/radian conversion functions
refs #81
2014-01-08 00:59:16 +00:00
Klaus Basan
978f3c88e5 style changes and removals of typeid
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
95858559bb fixed bug in CMath::round(),
was using qRound() instead of qRound64(),
which caused wrong answers when fractional part was 10 digits or more
2013-09-16 23:15:11 +01:00
Klaus Basan
8f5d9263fd Fixed all issues detected by the test cases under MinGW - such as usage of abs() -> changed to qAbs(), rounding issues detected during calculations, and changed streaming methods with qDebug() (QDebug vs &QDebug issue). 2013-04-30 01:43:14 +02:00
Klaus Basan
7c7ca2dfae Fixed some issues with MinGW gcc, e.g. added some includes, removed nullptr, changed some initializer lists (prevents warnings) 2013-04-29 00:15:32 +02:00
Klaus Basan
472521f281 Further details on classes like epsilon compare, further unit tests. 2013-04-24 01:59:17 +02:00
Klaus Basan
8121babe77 Initial structure for refactoring, some conversions still missing. Especially required further test cases. 2013-04-19 00:19:41 +02:00
Klaus Basan
5bf308c54b Initial refactoring of vector and matrix classes 2013-04-18 01:04:21 +02:00