Test if a collision shape has been added to the space.

cpSpaceContainsShape(space, shape)

Arguments

space

[cpSpace *]

shape

[cpShape *]

Value

[cpBool]

Details

C function prototype: CP_EXPORT cpBool cpSpaceContainsShape(cpSpace *space, cpShape *shape);