Chipmunk  6.0.3
Chipmunk API Reference for Kobold2D developers
cpSlideJoint

Data Structures

struct  cpSlideJoint

Functions

const cpConstraintClasscpSlideJointGetClass (void)
cpSlideJointcpSlideJointAlloc (void)
 Allocate a slide joint.
cpSlideJointcpSlideJointInit (cpSlideJoint *joint, cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2, cpFloat min, cpFloat max)
 Initialize a slide joint.
cpConstraintcpSlideJointNew (cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2, cpFloat min, cpFloat max)
 Allocate and initialize a slide joint.
 CP_DefineConstraintProperty (cpSlideJoint, cpVect, anchr1, Anchr1)
 CP_DefineConstraintProperty (cpSlideJoint, cpVect, anchr2, Anchr2)
 CP_DefineConstraintProperty (cpSlideJoint, cpFloat, min, Min)
 CP_DefineConstraintProperty (cpSlideJoint, cpFloat, max, Max)

Function Documentation

CP_DefineConstraintProperty ( cpSlideJoint  ,
cpVect  ,
anchr1  ,
Anchr1   
)
CP_DefineConstraintProperty ( cpSlideJoint  ,
cpVect  ,
anchr2  ,
Anchr2   
)
CP_DefineConstraintProperty ( cpSlideJoint  ,
cpFloat  ,
min  ,
Min   
)
CP_DefineConstraintProperty ( cpSlideJoint  ,
cpFloat  ,
max  ,
Max   
)
cpSlideJoint* cpSlideJointAlloc ( void  )

Allocate a slide joint.

const cpConstraintClass* cpSlideJointGetClass ( void  )
cpSlideJoint* cpSlideJointInit ( cpSlideJoint joint,
cpBody a,
cpBody b,
cpVect  anchr1,
cpVect  anchr2,
cpFloat  min,
cpFloat  max 
)

Initialize a slide joint.

cpConstraint* cpSlideJointNew ( cpBody a,
cpBody b,
cpVect  anchr1,
cpVect  anchr2,
cpFloat  min,
cpFloat  max 
)

Allocate and initialize a slide joint.