Allocate and initialize a circle shape.

cpCircleShapeNew(body, radius, offset)

Arguments

body

[cpBody *]

radius

[cpFloat]

offset

[cpVect *]

Value

[cpShape *]

Details

C function prototype: CP_EXPORT cpShape* cpCircleShapeNew(cpBody *body, cpFloat radius, cpVect offset);