Added Joint:getBodies (see issue #922.)

This commit is contained in:
Alex Szpakowski
2014-11-12 17:18:50 -04:00
parent 22bbe74ed9
commit 775f816304
15 changed files with 59 additions and 1 deletions
+3 -1
View File
@@ -79,12 +79,14 @@ public:
**/
bool isValid() const;
/**
* Gets the type of joint.
**/
Type getType() const;
Body *getBodyA() const;
Body *getBodyB() const;
/**
* Gets the anchor positions of the Joint in world
* coordinates. This is useful for debugdrawing the joint.