Added Sprite Physics and Joints

This commit is contained in:
n00b
2024-10-27 23:24:37 -04:00
parent d49b9f5d58
commit 8f1b72a8e2
125 changed files with 9264 additions and 1223 deletions

View File

@@ -62,4 +62,24 @@ struct rc_sprite2D_obj
irr::core::array<rc_sprite2D_obj> rc_sprite;
#define RC_JOINT_TYPE_DISTANCE 1
#define RC_JOINT_TYPE_FRICTION 2
#define RC_JOINT_TYPE_GEAR 3
#define RC_JOINT_TYPE_MOTOR 4
#define RC_JOINT_TYPE_PRISMATIC 5
#define RC_JOINT_TYPE_PULLEY 6
#define RC_JOINT_TYPE_REVOLUTE 7
#define RC_JOINT_TYPE_WELD 8
#define RC_JOINT_TYPE_WHEEL 9
struct rc_b2Joint_obj
{
b2Joint* joint;
int type;
bool active;
};
irr::core::array<rc_b2Joint_obj> rc_joint;
#endif // RC_SPRITE2D_H_INCLUDED