예제 #1
0
cpConstraint *
cpSimpleMotorNew(cpBody *a, cpBody *b, cpFloat rate)
{
	return (cpConstraint *)cpSimpleMotorInit(cpSimpleMotorAlloc(), a, b, rate);
}
예제 #2
0
파일: wrapper.c 프로젝트: Et999/Hipmunk
void wrSimpleMotorInit(cpFloat rate, cpSimpleMotor *joint, cpBody *a, cpBody *b) {
    cpSimpleMotorInit(joint, a, b, rate);
}