git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@266 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2010-02-06 19:39:04 +00:00
parent c79486f5ee
commit a210ed8894

View File

@ -25,6 +25,8 @@
#include <stdexcept>
#include "../mathematics/mathematics.h"
#include "../body/Body.h"
#include "../constraint/Constraint.h"
#include "../constraint/Contact.h"
// Namespace reactphysics3d
namespace reactphysics3d {
@ -90,6 +92,16 @@ inline void PhysicsWorld::setIsGratityOn(bool isGravityOn) {
this->isGravityOn = isGravityOn;
}
// Return a start iterator on the constraint list
inline std::vector<Constraint*>::const_iterator PhysicsWorld::getConstraintListStartIterator() const {
return constraintList.begin();
}
// Return a end iterator on the constraint list
inline std::vector<Constraint*>::const_iterator PhysicsWorld::getConstraintListEndIterator() const {
return constraintList.end();
}
} // End of the ReactPhysics3D namespace
#endif