Added Box2D
This commit is contained in:
25
external/Box2D-2.3.1/Contributions/Tests/Biped.h
vendored
Normal file
25
external/Box2D-2.3.1/Contributions/Tests/Biped.h
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef BIPED_H
|
||||
#define BIPED_H
|
||||
|
||||
#include "Box2D.h"
|
||||
|
||||
// Ragdoll class thanks to darkzerox.
|
||||
class Biped
|
||||
{
|
||||
public:
|
||||
Biped(b2World*, const b2Vec2& position);
|
||||
~Biped();
|
||||
|
||||
private:
|
||||
b2World* m_world;
|
||||
|
||||
b2Body *LFoot, *RFoot, *LCalf, *RCalf, *LThigh, *RThigh,
|
||||
*Pelvis, *Stomach, *Chest, *Neck, *Head,
|
||||
*LUpperArm, *RUpperArm, *LForearm, *RForearm, *LHand, *RHand;
|
||||
|
||||
b2RevoluteJoint *LAnkle, *RAnkle, *LKnee, *RKnee, *LHip, *RHip,
|
||||
*LowerAbs, *UpperAbs, *LowerNeck, *UpperNeck,
|
||||
*LShoulder, *RShoulder, *LElbow, *RElbow, *LWrist, *RWrist;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user