Dura2D
v0.1.0
An educational 2D game physics library
|
#include <d2Constraint.h>
Public Member Functions | |
virtual | ~d2Constraint ()=default |
d2MatMN | GetInvM () const |
d2VecN | GetVelocities () const |
virtual void | PreSolve (const real dt) |
virtual void | Solve () |
virtual void | PostSolve () |
void | SetNext (d2Constraint *next) |
void | SetPrev (d2Constraint *prev) |
d2Constraint * | GetNext () |
const d2Constraint * | GetNext () const |
d2Constraint * | GetPrev () |
const d2Constraint * | GetPrev () const |
Public Attributes | |
d2Body * | a |
d2Body * | b |
d2Vec2 | aPoint |
d2Vec2 | bPoint |
d2Constraint * | next |
d2Constraint * | prev |
|
virtualdefault |
d2MatMN d2Constraint::GetInvM | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
d2VecN d2Constraint::GetVelocities | ( | ) | const |
|
inlinevirtual |
Reimplemented in d2JointConstraint, and d2PenetrationConstraint.
|
inlinevirtual |
Reimplemented in d2JointConstraint, and d2PenetrationConstraint.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in d2JointConstraint, and d2PenetrationConstraint.
d2Body* d2Constraint::a |
d2Vec2 d2Constraint::aPoint |
d2Body* d2Constraint::b |
d2Vec2 d2Constraint::bPoint |
d2Constraint* d2Constraint::next |
d2Constraint* d2Constraint::prev |