Munk2D Documentation  8.x.x
Loading...
Searching...
No Matches
cpCircleShape

Functions

CP_EXPORT cpCircleShapecpCircleShapeAlloc (void)
 Allocate a circle shape.
 
CP_EXPORT cpCircleShapecpCircleShapeInit (cpCircleShape *circle, cpBody *body, cpFloat radius, cpVect offset)
 Initialize a circle shape.
 
CP_EXPORT cpShapecpCircleShapeNew (cpBody *body, cpFloat radius, cpVect offset)
 Allocate and initialize a circle shape.
 
CP_EXPORT cpVect cpCircleShapeGetOffset (const cpShape *shape)
 Get the offset of a circle shape.
 
CP_EXPORT cpFloat cpCircleShapeGetRadius (const cpShape *shape)
 Get the radius of a circle shape.
 

Detailed Description