mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
add new joint enums (no implementation yet)
--HG-- branch : box2d-update
This commit is contained in:
@@ -46,6 +46,9 @@ namespace physics
|
||||
{"mouse", Joint::JOINT_MOUSE},
|
||||
{"pulley", Joint::JOINT_PULLEY},
|
||||
{"gear", Joint::JOINT_GEAR},
|
||||
{"friction", Joint::JOINT_FRICTION},
|
||||
{"line", Joint::JOINT_LINE},
|
||||
{"weld", Joint::JOINT_WELD},
|
||||
};
|
||||
|
||||
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM> Joint::types(Joint::typeEntries, sizeof(Joint::typeEntries));
|
||||
|
||||
@@ -42,6 +42,9 @@ namespace physics
|
||||
JOINT_MOUSE,
|
||||
JOINT_PULLEY,
|
||||
JOINT_GEAR,
|
||||
JOINT_FRICTION,
|
||||
JOINT_LINE,
|
||||
JOINT_WELD,
|
||||
JOINT_MAX_ENUM
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user