git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@266 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
c79486f5ee
commit
a210ed8894
|
@ -25,6 +25,8 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "../mathematics/mathematics.h"
|
#include "../mathematics/mathematics.h"
|
||||||
#include "../body/Body.h"
|
#include "../body/Body.h"
|
||||||
|
#include "../constraint/Constraint.h"
|
||||||
|
#include "../constraint/Contact.h"
|
||||||
|
|
||||||
// Namespace reactphysics3d
|
// Namespace reactphysics3d
|
||||||
namespace reactphysics3d {
|
namespace reactphysics3d {
|
||||||
|
@ -90,6 +92,16 @@ inline void PhysicsWorld::setIsGratityOn(bool isGravityOn) {
|
||||||
this->isGravityOn = 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
|
} // End of the ReactPhysics3D namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user