dchip.cpSpace

Members

Aliases

cpPostStepFunc
alias cpPostStepFunc = void function(cpSpace* space, void* key, void* data)

Post Step callback function type.

cpSpaceBBQueryFunc
alias cpSpaceBBQueryFunc = void function(cpShape* shape, void* data)

Rectangle Query callback function type.

cpSpaceBodyIteratorFunc
alias cpSpaceBodyIteratorFunc = void function(cpBody* bdy, void* data)

Space/body_ iterator callback function type.

cpSpaceConstraintIteratorFunc
alias cpSpaceConstraintIteratorFunc = void function(cpConstraint* constraint, void* data)

Space/constraint iterator callback function type.

cpSpaceNearestPointQueryFunc
alias cpSpaceNearestPointQueryFunc = void function(cpShape* shape, cpFloat distance, cpVect point, void* data)

Nearest point query callback function type.

cpSpacePointQueryFunc
alias cpSpacePointQueryFunc = void function(cpShape* shape, void* data)

Point query callback function type.

cpSpaceSegmentQueryFunc
alias cpSpaceSegmentQueryFunc = void function(cpShape* shape, cpFloat t, cpVect n, void* data)

Segment query callback function type.

cpSpaceShapeIteratorFunc
alias cpSpaceShapeIteratorFunc = void function(cpShape* shape, void* data)

Space/body_ iterator callback function type.

cpSpaceShapeQueryFunc
alias cpSpaceShapeQueryFunc = void function(cpShape* shape, cpContactPointSet* points, void* data)

Shape query callback function type.

Functions

cpSpaceIsLocked
cpBool cpSpaceIsLocked(cpSpace* space)

returns true from inside a callback and objects cannot be added/removed.

freeWrap
void freeWrap(void* ptr, void* unused)

Workarounds for https://github.com/slembcke/Chipmunk2D/issues/56.

Structs

cpSpace
struct cpSpace

Basic Unit of Simulation in Chipmunk

Meta