cpConstraint *
cpRotaryLimitJointNew(cpBody *a, cpBody *b, cpFloat min, cpFloat max)
{
	return (cpConstraint *)cpRotaryLimitJointInit(cpRotaryLimitJointAlloc(), a, b, min, max);
}
示例#2
0
文件: wrapper.c 项目: Et999/Hipmunk
void wrRotaryLimitJointInit(cpFloat min, cpFloat max,
                            cpRotaryLimitJoint *joint, cpBody *a, cpBody *b) {
    cpRotaryLimitJointInit(joint, a, b, min, max);
}