Dura2D
v0.1.0
An educational 2D game physics library
|
#include <d2Constraint.h>
Public Member Functions | |
d2JointConstraint () | |
d2JointConstraint (d2Body *a, d2Body *b, const d2Vec2 &anchorPoint) | |
void | PreSolve (const real dt) override |
void | Solve () override |
void | PostSolve () override |
Public Member Functions inherited from d2Constraint | |
virtual | ~d2Constraint ()=default |
d2MatMN | GetInvM () const |
d2VecN | GetVelocities () const |
void | SetNext (d2Constraint *next) |
void | SetPrev (d2Constraint *prev) |
d2Constraint * | GetNext () |
const d2Constraint * | GetNext () const |
d2Constraint * | GetPrev () |
const d2Constraint * | GetPrev () const |
Additional Inherited Members | |
Public Attributes inherited from d2Constraint | |
d2Body * | a |
d2Body * | b |
d2Vec2 | aPoint |
d2Vec2 | bPoint |
d2Constraint * | next |
d2Constraint * | prev |
d2JointConstraint::d2JointConstraint | ( | ) |
|
overridevirtual |
Reimplemented from d2Constraint.
|
overridevirtual |
Reimplemented from d2Constraint.
|
overridevirtual |
Reimplemented from d2Constraint.