Ball and Spring Toy
Chapter 4 of Ian Parberry's "Introduction to Game Physics with Box2D"
|
Interface for the body class CBody. More...
Classes | |
class | CBody |
The body. More... | |
Enumerations | |
enum | PointType { HEAD_POINT, STERNUM_POINT, LEFT_HIP_POINT, RIGHT_HIP_POINT, LEFT_SHOULDER_POINT, RIGHT_SHOULDER_POINT, LEFT_ELBOW_POINT, RIGHT_ELBOW_POINT, LEFT_HAND_POINT, RIGHT_HAND_POINT, LEFT_KNEE_POINT, RIGHT_KNEE_POINT, LFOOT_POINT, RIGHT_FOOT_POINT, NUM_POINTS } |
Enumerated type for points on the ragdoll. | |
enum | EdgeType { NECK_BONE, LEFT_COLLAR_BONE, LEFT_HUMERUS_BONE, LEFT_ULNUS_BONE, RIGHT_COLLAR_BONE, RIGHT_HUMERUS_BONE, RIGHT_ULNUS_BONE, LEFT_THIGH_BONE, LEFT_SHIN_BONE, RIGHT_THIGH_BONE, RIGHT_SHIN_BONE, HIP_BRACER, LEFT_SHOULDER_BRACER, RIGHT_SHOULDER_BRACER, SHOULDER_BRACER, LEFT_NECK_BRACER, RIGHT_NECK_BRACER, LEFT_HEAD_SPRING, RIGHT_HEAD_SPRING, FEET_SPRING, LEFT_FOOT_SPRING, RIGHT_FOOT_SPRING, LEFT_KNEE_SPRING, RIGHT_KNEE_SPRING, HANDS_SPRING, LEFT_ELBOW_SPRING, RIGHT_ELBOW_SPRING, LEFT_HAND_SPRING, RIGHT_HAND_SPRING, NUM_EDGES } |
Enumerated type for bones on the ragdoll. | |
Interface for the body class CBody.