mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Added Joint:getBodies (see issue #922.)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user