0ad/source/maths/tests
elexis 0dff6940f7 Implement a FixedVector2D::CompareLengthSquared function to provide a more performant alternative to CompareLength.
Avoids computing the square of the compared value every call.

Differential Revision: https://code.wildfiregames.com/D2058
Reviewed By: Vladislav
This was SVN commit r23489.
2020-02-09 21:00:43 +00:00
..
test_Bound.h Cleanups BoundingBoxAxisAligned and fixes coding styles a bit. 2019-06-12 20:23:14 +00:00
test_BoundingSphere.h Refactor CBoundingSphere and add tests 2019-03-25 21:17:43 +00:00
test_Brush.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
test_Fixed.h Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
test_FixedVector2D.h Implement a FixedVector2D::CompareLengthSquared function to provide a more performant alternative to CompareLength. 2020-02-09 21:00:43 +00:00
test_FixedVector3D.h Switch everything to 15.16-bit precision fixeds, to allow more accurate unit vectors and angles. 2010-05-02 20:32:37 +00:00
test_Matrix3d.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
test_MD5.h Unify duplicate u8* to hex string functions in a new Hexify function variant, similar to bb1f86f515, used by Tests, CacheLoader, Terms and Conditions, Lobby and mod.io. 2018-08-08 12:59:05 +00:00
test_Sqrt.h Replace includes uniform_foo with uniform_foo_distribution as it's deprecated in newer versions of boost. It was added in the 1.47 version. 2019-04-22 21:45:23 +00:00