1
0
forked from 0ad/0ad
0ad/source/maths
janwas 4663ac0fe7 split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)

This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
..
scripting Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
tests Make decals only rotate around the Y axis, to avoid buggy stretched appearance when rotated non-horizontally 2011-04-22 13:19:23 +00:00
Bound.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
Bound.h # Minor particle system fixes. 2011-04-29 12:26:31 +00:00
Brush.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
Brush.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Fixed.cpp Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
Fixed.h # Add fog-of-war. 2010-09-23 12:13:13 +00:00
FixedVector2D.h # Initial support for formation movement. 2010-09-03 09:55:14 +00:00
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
MathUtil.h Fix MSVC compiler warnings (replace most M_PI with (float)M_PI) 2010-03-26 19:04:40 +00:00
Matrix3D.cpp Make decals only rotate around the Y axis, to avoid buggy stretched appearance when rotated non-horizontally 2011-04-22 13:19:23 +00:00
Matrix3D.h Make decals only rotate around the Y axis, to avoid buggy stretched appearance when rotated non-horizontally 2011-04-22 13:19:23 +00:00
MD5.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
MD5.h Force some byte-order functions to be inline. 2010-05-25 18:47:11 +00:00
Noise.cpp Fix MSVC compiler warnings (replace most M_PI with (float)M_PI) 2010-03-26 19:04:40 +00:00
Noise.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
NUSpline.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
NUSpline.h Add GPL header 2009-04-18 17:00:33 +00:00
Plane.cpp Inline common vector/matrix operations, for performance. 2010-09-24 16:54:20 +00:00
Plane.h Add some missing consts to arguments. 2010-07-25 14:10:46 +00:00
Quaternion.cpp Inline common vector/matrix operations, for performance. 2010-09-24 16:54:20 +00:00
Quaternion.h fix relics of GPL comment insertion (removing empty description comments and in some cases adding new file descriptions) 2009-05-03 11:47:38 +00:00
Sqrt.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Sqrt.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
Vector2D.h Add/rename header guards 2010-02-17 23:21:49 +00:00
Vector3D.cpp Improve camera restraints at edge of map to be independent of zoom, and to work on circular maps. 2011-03-04 20:02:05 +00:00
Vector3D.h Improve camera restraints at edge of map to be independent of zoom, and to work on circular maps. 2011-03-04 20:02:05 +00:00
Vector4D.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00