mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Moved most constants into relevant classes.
This commit is contained in:
@@ -61,17 +61,17 @@ namespace box2d
|
||||
switch(joint->GetType())
|
||||
{
|
||||
case e_revoluteJoint:
|
||||
return love::JOINT_REVOLUTE;
|
||||
return JOINT_REVOLUTE;
|
||||
case e_prismaticJoint:
|
||||
return love::JOINT_PRISMATIC;
|
||||
return JOINT_PRISMATIC;
|
||||
case e_distanceJoint:
|
||||
return love::JOINT_DISTANCE;
|
||||
return JOINT_DISTANCE;
|
||||
case e_pulleyJoint:
|
||||
return love::JOINT_PULLEY;
|
||||
return JOINT_PULLEY;
|
||||
case e_mouseJoint:
|
||||
return love::JOINT_MOUSE;
|
||||
return JOINT_MOUSE;
|
||||
case e_gearJoint:
|
||||
return love::JOINT_GEAR;
|
||||
return JOINT_GEAR;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user