mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix DistanceJoint type information
This commit is contained in:
@@ -32,6 +32,8 @@ namespace physics
|
||||
namespace box2d
|
||||
{
|
||||
|
||||
love::Type DistanceJoint::type("DistanceJoint", &Joint::type);
|
||||
|
||||
DistanceJoint::DistanceJoint(Body *body1, Body *body2, float x1, float y1, float x2, float y2, bool collideConnected)
|
||||
: Joint(body1, body2)
|
||||
, joint(NULL)
|
||||
|
||||
@@ -39,6 +39,8 @@ class DistanceJoint : public Joint
|
||||
{
|
||||
public:
|
||||
|
||||
static love::Type type;
|
||||
|
||||
/**
|
||||
* Creates a DistanceJoint connecting body1 to body2.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user