use std::abs() from <cmath> instead of abs() from <cstdlib>

git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@334 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
chappuis.daniel 2010-06-16 21:04:04 +00:00
parent 4e19ab899d
commit 479c2c0d1e

View File

@ -23,7 +23,6 @@
#include <GL/freeglut.h> // TODO : Remove this in the final version
#include <GL/gl.h> // TODO : Remove this in the final version
#include <cassert>
#include <cstdlib>
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;
@ -167,6 +166,8 @@ std::vector<Vector3D> OBB::getExtremeVertices(const Vector3D& directionAxis) con
extremeVertices.push_back(vertex);
}
}
assert(extremeVertices.size() == 1 || extremeVertices.size() == 2);
}
// An extreme should be a unique vertex, an edge or a face