This is the bodge-chipmunk Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 16:30:06 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
bodge-chipmunk
Wrapper over chipmunk 2d physics library
Pavel Korolev
MIT
1.0.0
alexandria
(system).
cffi
(system).
claw
(system).
claw-utils
(system).
cffi-c-ref
(system).
packages.lisp
(file).
bodge_chipmunk.h
(file).
claw.lisp
(file).
chipmunk.lisp
(file).
spec
(module).
chipmunk-lib
(module).
chipmunk-includes
(module).
Modules are listed depth-first from the system components tree.
bodge-chipmunk/spec
chipmunk.lisp
(file).
bodge-chipmunk
(system).
bodge-chipmunk/chipmunk-lib
spec
(module).
bodge-chipmunk
(system).
bodge-chipmunk/chipmunk-includes
chipmunk-lib
(module).
bodge-chipmunk
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
bodge-chipmunk/bodge-chipmunk.asd
bodge-chipmunk/packages.lisp
bodge-chipmunk/claw.lisp
bodge-chipmunk/chipmunk.lisp
bodge-chipmunk/bodge-chipmunk.asd
bodge-chipmunk
(system).
bodge-chipmunk/claw.lisp
bodge_chipmunk.h
(file).
bodge-chipmunk
(system).
+all-categories+
(special variable).
+buffer-bytes+
(special variable).
+calloc+
(special variable).
+export+
(special variable).
+facos+
(special variable).
+false+
(special variable).
+fatan2+
(special variable).
+fceil+
(special variable).
+fcos+
(special variable).
+fexp+
(special variable).
+ffloor+
(special variable).
+fmod+
(special variable).
+fpow+
(special variable).
+free+
(special variable).
+fsin+
(special variable).
+fsqrt+
(special variable).
+max-contacts-per-arbiter+
(special variable).
+no-group+
(special variable).
+pi+
(special variable).
+realloc+
(special variable).
+shape-filter-all+
(special variable).
+shape-filter-none+
(special variable).
+transform-identity+
(special variable).
+true+
(special variable).
+use-cgtypes+
(special variable).
+use-doubles+
(special variable).
+version-major+
(special variable).
+version-minor+
(special variable).
+version-release+
(special variable).
+vzero+
(special variable).
+wildcard-collision-type+
(special variable).
arbiter-call-wildcard-begin-a
(function).
arbiter-call-wildcard-begin-b
(function).
arbiter-call-wildcard-post-solve-a
(function).
arbiter-call-wildcard-post-solve-b
(function).
arbiter-call-wildcard-pre-solve-a
(function).
arbiter-call-wildcard-pre-solve-b
(function).
arbiter-call-wildcard-separate-a
(function).
arbiter-call-wildcard-separate-b
(function).
arbiter-get-bodies
(function).
arbiter-get-contact-point-set
(function).
arbiter-get-count
(function).
arbiter-get-depth
(function).
arbiter-get-friction
(function).
arbiter-get-normal
(function).
arbiter-get-point-a
(function).
arbiter-get-point-b
(function).
arbiter-get-restitution
(function).
arbiter-get-shapes
(function).
arbiter-get-surface-velocity
(function).
arbiter-get-user-data
(function).
arbiter-ignore
(function).
arbiter-is-first-contact
(function).
arbiter-is-removal
(function).
arbiter-set-contact-point-set
(function).
arbiter-set-friction
(function).
arbiter-set-restitution
(function).
arbiter-set-surface-velocity
(function).
arbiter-set-user-data
(function).
arbiter-total-impulse
(function).
arbiter-total-ke
(function).
area-for-circle
(function).
area-for-poly
(function).
area-for-segment
(function).
bb-tree-alloc
(function).
bb-tree-init
(function).
bb-tree-new
(function).
bb-tree-optimize
(function).
bb-tree-set-velocity-func
(function).
body-activate
(function).
body-activate-static
(function).
body-alloc
(function).
body-apply-force-at-local-point
(function).
body-apply-force-at-world-point
(function).
body-apply-impulse-at-local-point
(function).
body-apply-impulse-at-world-point
(function).
body-destroy
(function).
body-each-arbiter
(function).
body-each-constraint
(function).
body-each-shape
(function).
body-free
(function).
body-get-angle
(function).
body-get-angular-velocity
(function).
body-get-center-of-gravity
(function).
body-get-force
(function).
body-get-mass
(function).
body-get-moment
(function).
body-get-position
(function).
body-get-rotation
(function).
body-get-space
(function).
body-get-torque
(function).
body-get-type
(function).
body-get-user-data
(function).
body-get-velocity
(function).
body-get-velocity-at-local-point
(function).
body-get-velocity-at-world-point
(function).
body-init
(function).
body-is-sleeping
(function).
body-kinetic-energy
(function).
body-local-to-world
(function).
body-new
(function).
body-new-kinematic
(function).
body-new-static
(function).
body-set-angle
(function).
body-set-angular-velocity
(function).
body-set-center-of-gravity
(function).
body-set-force
(function).
body-set-mass
(function).
body-set-moment
(function).
body-set-position
(function).
body-set-position-update-func
(function).
body-set-torque
(function).
body-set-type
(function).
body-set-user-data
(function).
body-set-velocity
(function).
body-set-velocity-update-func
(function).
body-sleep
(function).
body-sleep-with-group
(function).
body-update-position
(function).
body-update-velocity
(function).
body-world-to-local
(function).
box-shape-init
(function).
box-shape-init2
(function).
box-shape-new
(function).
box-shape-new2
(function).
centroid-for-poly
(function).
circle-shape-alloc
(function).
circle-shape-get-offset
(function).
circle-shape-get-radius
(function).
circle-shape-init
(function).
circle-shape-new
(function).
constraint-destroy
(function).
constraint-free
(function).
constraint-get-body-a
(function).
constraint-get-body-b
(function).
constraint-get-collide-bodies
(function).
constraint-get-error-bias
(function).
constraint-get-impulse
(function).
constraint-get-max-bias
(function).
constraint-get-max-force
(function).
constraint-get-post-solve-func
(function).
constraint-get-pre-solve-func
(function).
constraint-get-space
(function).
constraint-get-user-data
(function).
constraint-is-damped-rotary-spring
(function).
constraint-is-damped-spring
(function).
constraint-is-gear-joint
(function).
constraint-is-groove-joint
(function).
constraint-is-pin-joint
(function).
constraint-is-pivot-joint
(function).
constraint-is-ratchet-joint
(function).
constraint-is-rotary-limit-joint
(function).
constraint-is-simple-motor
(function).
constraint-is-slide-joint
(function).
constraint-set-collide-bodies
(function).
constraint-set-error-bias
(function).
constraint-set-max-bias
(function).
constraint-set-max-force
(function).
constraint-set-post-solve-func
(function).
constraint-set-pre-solve-func
(function).
constraint-set-user-data
(function).
convex-hull
(function).
damped-rotary-spring-alloc
(function).
damped-rotary-spring-get-damping
(function).
damped-rotary-spring-get-rest-angle
(function).
damped-rotary-spring-get-spring-torque-func
(function).
damped-rotary-spring-get-stiffness
(function).
damped-rotary-spring-init
(function).
damped-rotary-spring-new
(function).
damped-rotary-spring-set-damping
(function).
damped-rotary-spring-set-rest-angle
(function).
damped-rotary-spring-set-spring-torque-func
(function).
damped-rotary-spring-set-stiffness
(function).
damped-spring-alloc
(function).
damped-spring-get-anchor-a
(function).
damped-spring-get-anchor-b
(function).
damped-spring-get-damping
(function).
damped-spring-get-rest-length
(function).
damped-spring-get-spring-force-func
(function).
damped-spring-get-stiffness
(function).
damped-spring-init
(function).
damped-spring-new
(function).
damped-spring-set-anchor-a
(function).
damped-spring-set-anchor-b
(function).
damped-spring-set-damping
(function).
damped-spring-set-rest-length
(function).
damped-spring-set-spring-force-func
(function).
damped-spring-set-stiffness
(function).
gear-joint-alloc
(function).
gear-joint-get-phase
(function).
gear-joint-get-ratio
(function).
gear-joint-init
(function).
gear-joint-new
(function).
gear-joint-set-phase
(function).
gear-joint-set-ratio
(function).
groove-joint-alloc
(function).
groove-joint-get-anchor-b
(function).
groove-joint-get-groove-a
(function).
groove-joint-get-groove-b
(function).
groove-joint-init
(function).
groove-joint-new
(function).
groove-joint-set-anchor-b
(function).
groove-joint-set-groove-a
(function).
groove-joint-set-groove-b
(function).
message
(macro).
moment-for-box
(function).
moment-for-box2
(function).
moment-for-circle
(function).
moment-for-poly
(function).
moment-for-segment
(function).
pin-joint-alloc
(function).
pin-joint-get-anchor-a
(function).
pin-joint-get-anchor-b
(function).
pin-joint-get-dist
(function).
pin-joint-init
(function).
pin-joint-new
(function).
pin-joint-set-anchor-a
(function).
pin-joint-set-anchor-b
(function).
pin-joint-set-dist
(function).
pivot-joint-alloc
(function).
pivot-joint-get-anchor-a
(function).
pivot-joint-get-anchor-b
(function).
pivot-joint-init
(function).
pivot-joint-new
(function).
pivot-joint-new2
(function).
pivot-joint-set-anchor-a
(function).
pivot-joint-set-anchor-b
(function).
poly-shape-alloc
(function).
poly-shape-get-count
(function).
poly-shape-get-radius
(function).
poly-shape-get-vert
(function).
poly-shape-init
(function).
poly-shape-init-raw
(function).
poly-shape-new
(function).
poly-shape-new-raw
(function).
ratchet-joint-alloc
(function).
ratchet-joint-get-angle
(function).
ratchet-joint-get-phase
(function).
ratchet-joint-get-ratchet
(function).
ratchet-joint-init
(function).
ratchet-joint-new
(function).
ratchet-joint-set-angle
(function).
ratchet-joint-set-phase
(function).
ratchet-joint-set-ratchet
(function).
rotary-limit-joint-alloc
(function).
rotary-limit-joint-get-max
(function).
rotary-limit-joint-get-min
(function).
rotary-limit-joint-init
(function).
rotary-limit-joint-new
(function).
rotary-limit-joint-set-max
(function).
rotary-limit-joint-set-min
(function).
segment-shape-alloc
(function).
segment-shape-get-a
(function).
segment-shape-get-b
(function).
segment-shape-get-normal
(function).
segment-shape-get-radius
(function).
segment-shape-init
(function).
segment-shape-new
(function).
segment-shape-set-neighbors
(function).
shape-cache-bb
(function).
shape-destroy
(function).
shape-free
(function).
shape-get-area
(function).
shape-get-bb
(function).
shape-get-body
(function).
shape-get-center-of-gravity
(function).
shape-get-collision-type
(function).
shape-get-density
(function).
shape-get-elasticity
(function).
shape-get-filter
(function).
shape-get-friction
(function).
shape-get-mass
(function).
shape-get-moment
(function).
shape-get-sensor
(function).
shape-get-space
(function).
shape-get-surface-velocity
(function).
shape-get-user-data
(function).
shape-point-query
(function).
shape-segment-query
(function).
shape-set-body
(function).
shape-set-collision-type
(function).
shape-set-density
(function).
shape-set-elasticity
(function).
shape-set-filter
(function).
shape-set-friction
(function).
shape-set-mass
(function).
shape-set-sensor
(function).
shape-set-surface-velocity
(function).
shape-set-user-data
(function).
shape-update
(function).
shapes-collide
(function).
simple-motor-alloc
(function).
simple-motor-get-rate
(function).
simple-motor-init
(function).
simple-motor-new
(function).
simple-motor-set-rate
(function).
slide-joint-alloc
(function).
slide-joint-get-anchor-a
(function).
slide-joint-get-anchor-b
(function).
slide-joint-get-max
(function).
slide-joint-get-min
(function).
slide-joint-init
(function).
slide-joint-new
(function).
slide-joint-set-anchor-a
(function).
slide-joint-set-anchor-b
(function).
slide-joint-set-max
(function).
slide-joint-set-min
(function).
space-add-body
(function).
space-add-collision-handler
(function).
space-add-constraint
(function).
space-add-default-collision-handler
(function).
space-add-post-step-callback
(function).
space-add-shape
(function).
space-add-wildcard-handler
(function).
space-alloc
(function).
space-bb-query
(function).
space-contains-body
(function).
space-contains-constraint
(function).
space-contains-shape
(function).
space-debug-draw
(function).
space-destroy
(function).
space-each-body
(function).
space-each-constraint
(function).
space-each-shape
(function).
space-free
(function).
space-get-collision-bias
(function).
space-get-collision-persistence
(function).
space-get-collision-slop
(function).
space-get-current-time-step
(function).
space-get-damping
(function).
space-get-gravity
(function).
space-get-idle-speed-threshold
(function).
space-get-iterations
(function).
space-get-sleep-time-threshold
(function).
space-get-static-body
(function).
space-get-user-data
(function).
space-hash-alloc
(function).
space-hash-init
(function).
space-hash-new
(function).
space-hash-resize
(function).
space-init
(function).
space-is-locked
(function).
space-new
(function).
space-point-query
(function).
space-point-query-nearest
(function).
space-reindex-shape
(function).
space-reindex-shapes-for-body
(function).
space-reindex-static
(function).
space-remove-body
(function).
space-remove-constraint
(function).
space-remove-shape
(function).
space-segment-query
(function).
space-segment-query-first
(function).
space-set-collision-bias
(function).
space-set-collision-persistence
(function).
space-set-collision-slop
(function).
space-set-damping
(function).
space-set-gravity
(function).
space-set-idle-speed-threshold
(function).
space-set-iterations
(function).
space-set-sleep-time-threshold
(function).
space-set-user-data
(function).
space-shape-query
(function).
space-step
(function).
space-use-spatial-hash
(function).
spatial-index-collide-static
(function).
spatial-index-free
(function).
sweep1d-alloc
(function).
sweep1d-init
(function).
sweep1d-new
(function).
bodge-chipmunk/chipmunk.lisp
claw.lisp
(file).
bodge-chipmunk
(system).
bodge-chipmunk/bodge_chipmunk.h
packages.lisp
(file).
bodge-chipmunk
(system).
Packages are listed by definition order.
%chipmunk
%cp
+all-categories+
(special variable).
+buffer-bytes+
(special variable).
+calloc+
(special variable).
+export+
(special variable).
+facos+
(special variable).
+false+
(special variable).
+fatan2+
(special variable).
+fceil+
(special variable).
+fcos+
(special variable).
+fexp+
(special variable).
+ffloor+
(special variable).
+fmod+
(special variable).
+fpow+
(special variable).
+free+
(special variable).
+fsin+
(special variable).
+fsqrt+
(special variable).
+max-contacts-per-arbiter+
(special variable).
+no-group+
(special variable).
+pi+
(special variable).
+realloc+
(special variable).
+shape-filter-all+
(special variable).
+shape-filter-none+
(special variable).
+transform-identity+
(special variable).
+true+
(special variable).
+use-cgtypes+
(special variable).
+use-doubles+
(special variable).
+version-major+
(special variable).
+version-minor+
(special variable).
+version-release+
(special variable).
+vzero+
(special variable).
+wildcard-collision-type+
(special variable).
arbiter-call-wildcard-begin-a
(function).
arbiter-call-wildcard-begin-b
(function).
arbiter-call-wildcard-post-solve-a
(function).
arbiter-call-wildcard-post-solve-b
(function).
arbiter-call-wildcard-pre-solve-a
(function).
arbiter-call-wildcard-pre-solve-b
(function).
arbiter-call-wildcard-separate-a
(function).
arbiter-call-wildcard-separate-b
(function).
arbiter-get-bodies
(function).
arbiter-get-contact-point-set
(function).
arbiter-get-count
(function).
arbiter-get-depth
(function).
arbiter-get-friction
(function).
arbiter-get-normal
(function).
arbiter-get-point-a
(function).
arbiter-get-point-b
(function).
arbiter-get-restitution
(function).
arbiter-get-shapes
(function).
arbiter-get-surface-velocity
(function).
arbiter-get-user-data
(function).
arbiter-ignore
(function).
arbiter-is-first-contact
(function).
arbiter-is-removal
(function).
arbiter-set-contact-point-set
(function).
arbiter-set-friction
(function).
arbiter-set-restitution
(function).
arbiter-set-surface-velocity
(function).
arbiter-set-user-data
(function).
arbiter-total-impulse
(function).
arbiter-total-ke
(function).
area-for-circle
(function).
area-for-poly
(function).
area-for-segment
(function).
bb-tree-alloc
(function).
bb-tree-init
(function).
bb-tree-new
(function).
bb-tree-optimize
(function).
bb-tree-set-velocity-func
(function).
body-activate
(function).
body-activate-static
(function).
body-alloc
(function).
body-apply-force-at-local-point
(function).
body-apply-force-at-world-point
(function).
body-apply-impulse-at-local-point
(function).
body-apply-impulse-at-world-point
(function).
body-destroy
(function).
body-each-arbiter
(function).
body-each-constraint
(function).
body-each-shape
(function).
body-free
(function).
body-get-angle
(function).
body-get-angular-velocity
(function).
body-get-center-of-gravity
(function).
body-get-force
(function).
body-get-mass
(function).
body-get-moment
(function).
body-get-position
(function).
body-get-rotation
(function).
body-get-space
(function).
body-get-torque
(function).
body-get-type
(function).
body-get-user-data
(function).
body-get-velocity
(function).
body-get-velocity-at-local-point
(function).
body-get-velocity-at-world-point
(function).
body-init
(function).
body-is-sleeping
(function).
body-kinetic-energy
(function).
body-local-to-world
(function).
body-new
(function).
body-new-kinematic
(function).
body-new-static
(function).
body-set-angle
(function).
body-set-angular-velocity
(function).
body-set-center-of-gravity
(function).
body-set-force
(function).
body-set-mass
(function).
body-set-moment
(function).
body-set-position
(function).
body-set-position-update-func
(function).
body-set-torque
(function).
body-set-type
(function).
body-set-user-data
(function).
body-set-velocity
(function).
body-set-velocity-update-func
(function).
body-sleep
(function).
body-sleep-with-group
(function).
body-update-position
(function).
body-update-velocity
(function).
body-world-to-local
(function).
box-shape-init
(function).
box-shape-init2
(function).
box-shape-new
(function).
box-shape-new2
(function).
centroid-for-poly
(function).
circle-shape-alloc
(function).
circle-shape-get-offset
(function).
circle-shape-get-radius
(function).
circle-shape-init
(function).
circle-shape-new
(function).
constraint-destroy
(function).
constraint-free
(function).
constraint-get-body-a
(function).
constraint-get-body-b
(function).
constraint-get-collide-bodies
(function).
constraint-get-error-bias
(function).
constraint-get-impulse
(function).
constraint-get-max-bias
(function).
constraint-get-max-force
(function).
constraint-get-post-solve-func
(function).
constraint-get-pre-solve-func
(function).
constraint-get-space
(function).
constraint-get-user-data
(function).
constraint-is-damped-rotary-spring
(function).
constraint-is-damped-spring
(function).
constraint-is-gear-joint
(function).
constraint-is-groove-joint
(function).
constraint-is-pin-joint
(function).
constraint-is-pivot-joint
(function).
constraint-is-ratchet-joint
(function).
constraint-is-rotary-limit-joint
(function).
constraint-is-simple-motor
(function).
constraint-is-slide-joint
(function).
constraint-set-collide-bodies
(function).
constraint-set-error-bias
(function).
constraint-set-max-bias
(function).
constraint-set-max-force
(function).
constraint-set-post-solve-func
(function).
constraint-set-pre-solve-func
(function).
constraint-set-user-data
(function).
convex-hull
(function).
damped-rotary-spring-alloc
(function).
damped-rotary-spring-get-damping
(function).
damped-rotary-spring-get-rest-angle
(function).
damped-rotary-spring-get-spring-torque-func
(function).
damped-rotary-spring-get-stiffness
(function).
damped-rotary-spring-init
(function).
damped-rotary-spring-new
(function).
damped-rotary-spring-set-damping
(function).
damped-rotary-spring-set-rest-angle
(function).
damped-rotary-spring-set-spring-torque-func
(function).
damped-rotary-spring-set-stiffness
(function).
damped-spring-alloc
(function).
damped-spring-get-anchor-a
(function).
damped-spring-get-anchor-b
(function).
damped-spring-get-damping
(function).
damped-spring-get-rest-length
(function).
damped-spring-get-spring-force-func
(function).
damped-spring-get-stiffness
(function).
damped-spring-init
(function).
damped-spring-new
(function).
damped-spring-set-anchor-a
(function).
damped-spring-set-anchor-b
(function).
damped-spring-set-damping
(function).
damped-spring-set-rest-length
(function).
damped-spring-set-spring-force-func
(function).
damped-spring-set-stiffness
(function).
gear-joint-alloc
(function).
gear-joint-get-phase
(function).
gear-joint-get-ratio
(function).
gear-joint-init
(function).
gear-joint-new
(function).
gear-joint-set-phase
(function).
gear-joint-set-ratio
(function).
groove-joint-alloc
(function).
groove-joint-get-anchor-b
(function).
groove-joint-get-groove-a
(function).
groove-joint-get-groove-b
(function).
groove-joint-init
(function).
groove-joint-new
(function).
groove-joint-set-anchor-b
(function).
groove-joint-set-groove-a
(function).
groove-joint-set-groove-b
(function).
message
(macro).
moment-for-box
(function).
moment-for-box2
(function).
moment-for-circle
(function).
moment-for-poly
(function).
moment-for-segment
(function).
pin-joint-alloc
(function).
pin-joint-get-anchor-a
(function).
pin-joint-get-anchor-b
(function).
pin-joint-get-dist
(function).
pin-joint-init
(function).
pin-joint-new
(function).
pin-joint-set-anchor-a
(function).
pin-joint-set-anchor-b
(function).
pin-joint-set-dist
(function).
pivot-joint-alloc
(function).
pivot-joint-get-anchor-a
(function).
pivot-joint-get-anchor-b
(function).
pivot-joint-init
(function).
pivot-joint-new
(function).
pivot-joint-new2
(function).
pivot-joint-set-anchor-a
(function).
pivot-joint-set-anchor-b
(function).
poly-shape-alloc
(function).
poly-shape-get-count
(function).
poly-shape-get-radius
(function).
poly-shape-get-vert
(function).
poly-shape-init
(function).
poly-shape-init-raw
(function).
poly-shape-new
(function).
poly-shape-new-raw
(function).
ratchet-joint-alloc
(function).
ratchet-joint-get-angle
(function).
ratchet-joint-get-phase
(function).
ratchet-joint-get-ratchet
(function).
ratchet-joint-init
(function).
ratchet-joint-new
(function).
ratchet-joint-set-angle
(function).
ratchet-joint-set-phase
(function).
ratchet-joint-set-ratchet
(function).
rotary-limit-joint-alloc
(function).
rotary-limit-joint-get-max
(function).
rotary-limit-joint-get-min
(function).
rotary-limit-joint-init
(function).
rotary-limit-joint-new
(function).
rotary-limit-joint-set-max
(function).
rotary-limit-joint-set-min
(function).
segment-shape-alloc
(function).
segment-shape-get-a
(function).
segment-shape-get-b
(function).
segment-shape-get-normal
(function).
segment-shape-get-radius
(function).
segment-shape-init
(function).
segment-shape-new
(function).
segment-shape-set-neighbors
(function).
shape-cache-bb
(function).
shape-destroy
(function).
shape-free
(function).
shape-get-area
(function).
shape-get-bb
(function).
shape-get-body
(function).
shape-get-center-of-gravity
(function).
shape-get-collision-type
(function).
shape-get-density
(function).
shape-get-elasticity
(function).
shape-get-filter
(function).
shape-get-friction
(function).
shape-get-mass
(function).
shape-get-moment
(function).
shape-get-sensor
(function).
shape-get-space
(function).
shape-get-surface-velocity
(function).
shape-get-user-data
(function).
shape-point-query
(function).
shape-segment-query
(function).
shape-set-body
(function).
shape-set-collision-type
(function).
shape-set-density
(function).
shape-set-elasticity
(function).
shape-set-filter
(function).
shape-set-friction
(function).
shape-set-mass
(function).
shape-set-sensor
(function).
shape-set-surface-velocity
(function).
shape-set-user-data
(function).
shape-update
(function).
shapes-collide
(function).
simple-motor-alloc
(function).
simple-motor-get-rate
(function).
simple-motor-init
(function).
simple-motor-new
(function).
simple-motor-set-rate
(function).
slide-joint-alloc
(function).
slide-joint-get-anchor-a
(function).
slide-joint-get-anchor-b
(function).
slide-joint-get-max
(function).
slide-joint-get-min
(function).
slide-joint-init
(function).
slide-joint-new
(function).
slide-joint-set-anchor-a
(function).
slide-joint-set-anchor-b
(function).
slide-joint-set-max
(function).
slide-joint-set-min
(function).
space-add-body
(function).
space-add-collision-handler
(function).
space-add-constraint
(function).
space-add-default-collision-handler
(function).
space-add-post-step-callback
(function).
space-add-shape
(function).
space-add-wildcard-handler
(function).
space-alloc
(function).
space-bb-query
(function).
space-contains-body
(function).
space-contains-constraint
(function).
space-contains-shape
(function).
space-debug-draw
(function).
space-destroy
(function).
space-each-body
(function).
space-each-constraint
(function).
space-each-shape
(function).
space-free
(function).
space-get-collision-bias
(function).
space-get-collision-persistence
(function).
space-get-collision-slop
(function).
space-get-current-time-step
(function).
space-get-damping
(function).
space-get-gravity
(function).
space-get-idle-speed-threshold
(function).
space-get-iterations
(function).
space-get-sleep-time-threshold
(function).
space-get-static-body
(function).
space-get-user-data
(function).
space-hash-alloc
(function).
space-hash-init
(function).
space-hash-new
(function).
space-hash-resize
(function).
space-init
(function).
space-is-locked
(function).
space-new
(function).
space-point-query
(function).
space-point-query-nearest
(function).
space-reindex-shape
(function).
space-reindex-shapes-for-body
(function).
space-reindex-static
(function).
space-remove-body
(function).
space-remove-constraint
(function).
space-remove-shape
(function).
space-segment-query
(function).
space-segment-query-first
(function).
space-set-collision-bias
(function).
space-set-collision-persistence
(function).
space-set-collision-slop
(function).
space-set-damping
(function).
space-set-gravity
(function).
space-set-idle-speed-threshold
(function).
space-set-iterations
(function).
space-set-sleep-time-threshold
(function).
space-set-user-data
(function).
space-shape-query
(function).
space-step
(function).
space-use-spatial-hash
(function).
spatial-index-collide-static
(function).
spatial-index-free
(function).
sweep1d-alloc
(function).
sweep1d-init
(function).
sweep1d-new
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
void cpMessage(char* condition, char* file, int line, int isError, int isHardError, char* message, ...);
cpBool cpArbiterCallWildcardBeginA(cpArbiter* arb, cpSpace* space);
cpBool cpArbiterCallWildcardBeginB(cpArbiter* arb, cpSpace* space);
void cpArbiterCallWildcardPostSolveA(cpArbiter* arb, cpSpace* space);
void cpArbiterCallWildcardPostSolveB(cpArbiter* arb, cpSpace* space);
cpBool cpArbiterCallWildcardPreSolveA(cpArbiter* arb, cpSpace* space);
cpBool cpArbiterCallWildcardPreSolveB(cpArbiter* arb, cpSpace* space);
void cpArbiterCallWildcardSeparateA(cpArbiter* arb, cpSpace* space);
void cpArbiterCallWildcardSeparateB(cpArbiter* arb, cpSpace* space);
void cpArbiterGetBodies(cpArbiter* arb, cpBody** a, cpBody** b);
cpContactPointSet cpArbiterGetContactPointSet(cpArbiter* arb);
int cpArbiterGetCount(cpArbiter* arb);
cpFloat cpArbiterGetDepth(cpArbiter* arb, int i);
cpFloat cpArbiterGetFriction(cpArbiter* arb);
cpVect cpArbiterGetNormal(cpArbiter* arb);
cpVect cpArbiterGetPointA(cpArbiter* arb, int i);
cpVect cpArbiterGetPointB(cpArbiter* arb, int i);
cpFloat cpArbiterGetRestitution(cpArbiter* arb);
void cpArbiterGetShapes(cpArbiter* arb, cpShape** a, cpShape** b);
cpVect cpArbiterGetSurfaceVelocity(cpArbiter* arb);
cpDataPointer cpArbiterGetUserData(cpArbiter* arb);
cpBool cpArbiterIgnore(cpArbiter* arb);
cpBool cpArbiterIsFirstContact(cpArbiter* arb);
cpBool cpArbiterIsRemoval(cpArbiter* arb);
void cpArbiterSetContactPointSet(cpArbiter* arb, cpContactPointSet* set);
void cpArbiterSetFriction(cpArbiter* arb, cpFloat friction);
void cpArbiterSetRestitution(cpArbiter* arb, cpFloat restitution);
void cpArbiterSetSurfaceVelocity(cpArbiter* arb, cpVect vr);
void cpArbiterSetUserData(cpArbiter* arb, cpDataPointer userData);
cpVect cpArbiterTotalImpulse(cpArbiter* arb);
cpFloat cpArbiterTotalKE(cpArbiter* arb);
cpFloat cpAreaForCircle(cpFloat r1, cpFloat r2);
cpFloat cpAreaForPoly(int count, cpVect* verts, cpFloat radius);
cpFloat cpAreaForSegment(cpVect a, cpVect b, cpFloat radius);
cpSpatialIndex* cpBBTreeInit(cpBBTree* tree, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
cpSpatialIndex* cpBBTreeNew(cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
void cpBBTreeOptimize(cpSpatialIndex* index);
void cpBBTreeSetVelocityFunc(cpSpatialIndex* index, cpBBTreeVelocityFunc func);
void cpBodyActivate(cpBody* body);
void cpBodyActivateStatic(cpBody* body, cpShape* filter);
void cpBodyApplyForceAtLocalPoint(cpBody* body, cpVect force, cpVect point);
void cpBodyApplyForceAtWorldPoint(cpBody* body, cpVect force, cpVect point);
void cpBodyApplyImpulseAtLocalPoint(cpBody* body, cpVect impulse, cpVect point);
void cpBodyApplyImpulseAtWorldPoint(cpBody* body, cpVect impulse, cpVect point);
void cpBodyDestroy(cpBody* body);
void cpBodyEachArbiter(cpBody* body, cpBodyArbiterIteratorFunc func, void* data);
void cpBodyEachConstraint(cpBody* body, cpBodyConstraintIteratorFunc func, void* data);
void cpBodyEachShape(cpBody* body, cpBodyShapeIteratorFunc func, void* data);
cpFloat cpBodyGetAngle(cpBody* body);
cpFloat cpBodyGetAngularVelocity(cpBody* body);
cpVect cpBodyGetCenterOfGravity(cpBody* body);
cpVect cpBodyGetForce(cpBody* body);
cpFloat cpBodyGetMass(cpBody* body);
cpFloat cpBodyGetMoment(cpBody* body);
cpVect cpBodyGetPosition(cpBody* body);
cpVect cpBodyGetRotation(cpBody* body);
cpSpace* cpBodyGetSpace(cpBody* body);
cpFloat cpBodyGetTorque(cpBody* body);
cpBodyType cpBodyGetType(cpBody* body);
cpDataPointer cpBodyGetUserData(cpBody* body);
cpVect cpBodyGetVelocity(cpBody* body);
cpVect cpBodyGetVelocityAtLocalPoint(cpBody* body, cpVect point);
cpVect cpBodyGetVelocityAtWorldPoint(cpBody* body, cpVect point);
cpBody* cpBodyInit(cpBody* body, cpFloat mass, cpFloat moment);
cpBool cpBodyIsSleeping(cpBody* body);
cpFloat cpBodyKineticEnergy(cpBody* body);
cpVect cpBodyLocalToWorld(cpBody* body, cpVect point);
cpBody* cpBodyNew(cpFloat mass, cpFloat moment);
cpBody* cpBodyNewKinematic();
void cpBodySetAngle(cpBody* body, cpFloat a);
void cpBodySetAngularVelocity(cpBody* body, cpFloat angularVelocity);
void cpBodySetCenterOfGravity(cpBody* body, cpVect cog);
void cpBodySetForce(cpBody* body, cpVect force);
void cpBodySetMass(cpBody* body, cpFloat m);
void cpBodySetMoment(cpBody* body, cpFloat i);
void cpBodySetPosition(cpBody* body, cpVect pos);
void cpBodySetPositionUpdateFunc(cpBody* body, cpBodyPositionFunc positionFunc);
void cpBodySetTorque(cpBody* body, cpFloat torque);
void cpBodySetType(cpBody* body, cpBodyType type);
void cpBodySetUserData(cpBody* body, cpDataPointer userData);
void cpBodySetVelocity(cpBody* body, cpVect velocity);
void cpBodySetVelocityUpdateFunc(cpBody* body, cpBodyVelocityFunc velocityFunc);
void cpBodySleepWithGroup(cpBody* body, cpBody* group);
void cpBodyUpdatePosition(cpBody* body, cpFloat dt);
void cpBodyUpdateVelocity(cpBody* body, cpVect gravity, cpFloat damping, cpFloat dt);
cpVect cpBodyWorldToLocal(cpBody* body, cpVect point);
cpPolyShape* cpBoxShapeInit(cpPolyShape* poly, cpBody* body, cpFloat width, cpFloat height, cpFloat radius);
cpPolyShape* cpBoxShapeInit2(cpPolyShape* poly, cpBody* body, cpBB box, cpFloat radius);
cpShape* cpBoxShapeNew(cpBody* body, cpFloat width, cpFloat height, cpFloat radius);
cpShape* cpBoxShapeNew2(cpBody* body, cpBB box, cpFloat radius);
cpVect cpCentroidForPoly(int count, cpVect* verts);
cpCircleShape* cpCircleShapeAlloc();
cpVect cpCircleShapeGetOffset(cpShape* shape);
cpFloat cpCircleShapeGetRadius(cpShape* shape);
cpCircleShape* cpCircleShapeInit(cpCircleShape* circle, cpBody* body, cpFloat radius, cpVect offset);
cpShape* cpCircleShapeNew(cpBody* body, cpFloat radius, cpVect offset);
void cpConstraintDestroy(cpConstraint* constraint);
void cpConstraintFree(cpConstraint* constraint);
cpBody* cpConstraintGetBodyA(cpConstraint* constraint);
cpBody* cpConstraintGetBodyB(cpConstraint* constraint);
cpBool cpConstraintGetCollideBodies(cpConstraint* constraint);
cpFloat cpConstraintGetErrorBias(cpConstraint* constraint);
cpFloat cpConstraintGetImpulse(cpConstraint* constraint);
cpFloat cpConstraintGetMaxBias(cpConstraint* constraint);
cpFloat cpConstraintGetMaxForce(cpConstraint* constraint);
cpConstraintPostSolveFunc cpConstraintGetPostSolveFunc(cpConstraint* constraint);
cpConstraintPreSolveFunc cpConstraintGetPreSolveFunc(cpConstraint* constraint);
cpSpace* cpConstraintGetSpace(cpConstraint* constraint);
cpDataPointer cpConstraintGetUserData(cpConstraint* constraint);
cpBool cpConstraintIsDampedRotarySpring(cpConstraint* constraint);
cpBool cpConstraintIsDampedSpring(cpConstraint* constraint);
cpBool cpConstraintIsGearJoint(cpConstraint* constraint);
cpBool cpConstraintIsGrooveJoint(cpConstraint* constraint);
cpBool cpConstraintIsPinJoint(cpConstraint* constraint);
cpBool cpConstraintIsPivotJoint(cpConstraint* constraint);
cpBool cpConstraintIsRatchetJoint(cpConstraint* constraint);
cpBool cpConstraintIsRotaryLimitJoint(cpConstraint* constraint);
cpBool cpConstraintIsSimpleMotor(cpConstraint* constraint);
cpBool cpConstraintIsSlideJoint(cpConstraint* constraint);
void cpConstraintSetCollideBodies(cpConstraint* constraint, cpBool collideBodies);
void cpConstraintSetErrorBias(cpConstraint* constraint, cpFloat errorBias);
void cpConstraintSetMaxBias(cpConstraint* constraint, cpFloat maxBias);
void cpConstraintSetMaxForce(cpConstraint* constraint, cpFloat maxForce);
void cpConstraintSetPostSolveFunc(cpConstraint* constraint, cpConstraintPostSolveFunc postSolveFunc);
void cpConstraintSetPreSolveFunc(cpConstraint* constraint, cpConstraintPreSolveFunc preSolveFunc);
void cpConstraintSetUserData(cpConstraint* constraint, cpDataPointer userData);
int cpConvexHull(int count, cpVect* verts, cpVect* result, int* first, cpFloat tol);
cpDampedRotarySpring* cpDampedRotarySpringAlloc();
cpFloat cpDampedRotarySpringGetDamping(cpConstraint* constraint);
cpFloat cpDampedRotarySpringGetRestAngle(cpConstraint* constraint);
cpDampedRotarySpringTorqueFunc cpDampedRotarySpringGetSpringTorqueFunc(cpConstraint* constraint);
cpFloat cpDampedRotarySpringGetStiffness(cpConstraint* constraint);
cpDampedRotarySpring* cpDampedRotarySpringInit(cpDampedRotarySpring* joint, cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping);
cpConstraint* cpDampedRotarySpringNew(cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping);
void cpDampedRotarySpringSetDamping(cpConstraint* constraint, cpFloat damping);
void cpDampedRotarySpringSetRestAngle(cpConstraint* constraint, cpFloat restAngle);
void cpDampedRotarySpringSetSpringTorqueFunc(cpConstraint* constraint, cpDampedRotarySpringTorqueFunc springTorqueFunc);
void cpDampedRotarySpringSetStiffness(cpConstraint* constraint, cpFloat stiffness);
cpDampedSpring* cpDampedSpringAlloc();
cpVect cpDampedSpringGetAnchorA(cpConstraint* constraint);
cpVect cpDampedSpringGetAnchorB(cpConstraint* constraint);
cpFloat cpDampedSpringGetDamping(cpConstraint* constraint);
cpFloat cpDampedSpringGetRestLength(cpConstraint* constraint);
cpDampedSpringForceFunc cpDampedSpringGetSpringForceFunc(cpConstraint* constraint);
cpFloat cpDampedSpringGetStiffness(cpConstraint* constraint);
cpDampedSpring* cpDampedSpringInit(cpDampedSpring* joint, cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB, cpFloat restLength, cpFloat stiffness, cpFloat damping);
cpConstraint* cpDampedSpringNew(cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB, cpFloat restLength, cpFloat stiffness, cpFloat damping);
void cpDampedSpringSetAnchorA(cpConstraint* constraint, cpVect anchorA);
void cpDampedSpringSetAnchorB(cpConstraint* constraint, cpVect anchorB);
void cpDampedSpringSetDamping(cpConstraint* constraint, cpFloat damping);
void cpDampedSpringSetRestLength(cpConstraint* constraint, cpFloat restLength);
void cpDampedSpringSetSpringForceFunc(cpConstraint* constraint, cpDampedSpringForceFunc springForceFunc);
void cpDampedSpringSetStiffness(cpConstraint* constraint, cpFloat stiffness);
cpGearJoint* cpGearJointAlloc();
cpFloat cpGearJointGetPhase(cpConstraint* constraint);
cpFloat cpGearJointGetRatio(cpConstraint* constraint);
cpGearJoint* cpGearJointInit(cpGearJoint* joint, cpBody* a, cpBody* b, cpFloat phase, cpFloat ratio);
cpConstraint* cpGearJointNew(cpBody* a, cpBody* b, cpFloat phase, cpFloat ratio);
void cpGearJointSetPhase(cpConstraint* constraint, cpFloat phase);
void cpGearJointSetRatio(cpConstraint* constraint, cpFloat ratio);
cpGrooveJoint* cpGrooveJointAlloc();
cpVect cpGrooveJointGetAnchorB(cpConstraint* constraint);
cpVect cpGrooveJointGetGrooveA(cpConstraint* constraint);
cpVect cpGrooveJointGetGrooveB(cpConstraint* constraint);
cpGrooveJoint* cpGrooveJointInit(cpGrooveJoint* joint, cpBody* a, cpBody* b, cpVect groove_a, cpVect groove_b, cpVect anchorB);
cpConstraint* cpGrooveJointNew(cpBody* a, cpBody* b, cpVect groove_a, cpVect groove_b, cpVect anchorB);
void cpGrooveJointSetAnchorB(cpConstraint* constraint, cpVect anchorB);
void cpGrooveJointSetGrooveA(cpConstraint* constraint, cpVect grooveA);
void cpGrooveJointSetGrooveB(cpConstraint* constraint, cpVect grooveB);
cpFloat cpMomentForBox(cpFloat m, cpFloat width, cpFloat height);
cpFloat cpMomentForBox2(cpFloat m, cpBB box);
cpFloat cpMomentForCircle(cpFloat m, cpFloat r1, cpFloat r2, cpVect offset);
cpFloat cpMomentForPoly(cpFloat m, int count, cpVect* verts, cpVect offset, cpFloat radius);
cpFloat cpMomentForSegment(cpFloat m, cpVect a, cpVect b, cpFloat radius);
cpVect cpPinJointGetAnchorA(cpConstraint* constraint);
cpVect cpPinJointGetAnchorB(cpConstraint* constraint);
cpFloat cpPinJointGetDist(cpConstraint* constraint);
cpPinJoint* cpPinJointInit(cpPinJoint* joint, cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB);
cpConstraint* cpPinJointNew(cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB);
void cpPinJointSetAnchorA(cpConstraint* constraint, cpVect anchorA);
void cpPinJointSetAnchorB(cpConstraint* constraint, cpVect anchorB);
void cpPinJointSetDist(cpConstraint* constraint, cpFloat dist);
cpPivotJoint* cpPivotJointAlloc();
cpVect cpPivotJointGetAnchorA(cpConstraint* constraint);
cpVect cpPivotJointGetAnchorB(cpConstraint* constraint);
cpPivotJoint* cpPivotJointInit(cpPivotJoint* joint, cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB);
cpConstraint* cpPivotJointNew(cpBody* a, cpBody* b, cpVect pivot);
cpConstraint* cpPivotJointNew2(cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB);
void cpPivotJointSetAnchorA(cpConstraint* constraint, cpVect anchorA);
void cpPivotJointSetAnchorB(cpConstraint* constraint, cpVect anchorB);
cpPolyShape* cpPolyShapeAlloc();
int cpPolyShapeGetCount(cpShape* shape);
cpFloat cpPolyShapeGetRadius(cpShape* shape);
cpVect cpPolyShapeGetVert(cpShape* shape, int index);
cpPolyShape* cpPolyShapeInit(cpPolyShape* poly, cpBody* body, int count, cpVect* verts, cpTransform transform, cpFloat radius);
cpPolyShape* cpPolyShapeInitRaw(cpPolyShape* poly, cpBody* body, int count, cpVect* verts, cpFloat radius);
cpShape* cpPolyShapeNew(cpBody* body, int count, cpVect* verts, cpTransform transform, cpFloat radius);
cpShape* cpPolyShapeNewRaw(cpBody* body, int count, cpVect* verts, cpFloat radius);
cpRatchetJoint* cpRatchetJointAlloc();
cpFloat cpRatchetJointGetAngle(cpConstraint* constraint);
cpFloat cpRatchetJointGetPhase(cpConstraint* constraint);
cpFloat cpRatchetJointGetRatchet(cpConstraint* constraint);
cpRatchetJoint* cpRatchetJointInit(cpRatchetJoint* joint, cpBody* a, cpBody* b, cpFloat phase, cpFloat ratchet);
cpConstraint* cpRatchetJointNew(cpBody* a, cpBody* b, cpFloat phase, cpFloat ratchet);
void cpRatchetJointSetAngle(cpConstraint* constraint, cpFloat angle);
void cpRatchetJointSetPhase(cpConstraint* constraint, cpFloat phase);
void cpRatchetJointSetRatchet(cpConstraint* constraint, cpFloat ratchet);
cpRotaryLimitJoint* cpRotaryLimitJointAlloc();
cpFloat cpRotaryLimitJointGetMax(cpConstraint* constraint);
cpFloat cpRotaryLimitJointGetMin(cpConstraint* constraint);
cpRotaryLimitJoint* cpRotaryLimitJointInit(cpRotaryLimitJoint* joint, cpBody* a, cpBody* b, cpFloat min, cpFloat max);
cpConstraint* cpRotaryLimitJointNew(cpBody* a, cpBody* b, cpFloat min, cpFloat max);
void cpRotaryLimitJointSetMax(cpConstraint* constraint, cpFloat max);
void cpRotaryLimitJointSetMin(cpConstraint* constraint, cpFloat min);
cpSegmentShape* cpSegmentShapeAlloc();
cpVect cpSegmentShapeGetA(cpShape* shape);
cpVect cpSegmentShapeGetB(cpShape* shape);
cpVect cpSegmentShapeGetNormal(cpShape* shape);
cpFloat cpSegmentShapeGetRadius(cpShape* shape);
cpSegmentShape* cpSegmentShapeInit(cpSegmentShape* seg, cpBody* body, cpVect a, cpVect b, cpFloat radius);
cpShape* cpSegmentShapeNew(cpBody* body, cpVect a, cpVect b, cpFloat radius);
void cpSegmentShapeSetNeighbors(cpShape* shape, cpVect prev, cpVect next);
cpBB cpShapeCacheBB(cpShape* shape);
void cpShapeDestroy(cpShape* shape);
void cpShapeFree(cpShape* shape);
cpFloat cpShapeGetArea(cpShape* shape);
cpBB cpShapeGetBB(cpShape* shape);
cpBody* cpShapeGetBody(cpShape* shape);
cpVect cpShapeGetCenterOfGravity(cpShape* shape);
cpCollisionType cpShapeGetCollisionType(cpShape* shape);
cpFloat cpShapeGetDensity(cpShape* shape);
cpFloat cpShapeGetElasticity(cpShape* shape);
cpShapeFilter cpShapeGetFilter(cpShape* shape);
cpFloat cpShapeGetFriction(cpShape* shape);
cpFloat cpShapeGetMass(cpShape* shape);
cpFloat cpShapeGetMoment(cpShape* shape);
cpBool cpShapeGetSensor(cpShape* shape);
cpSpace* cpShapeGetSpace(cpShape* shape);
cpVect cpShapeGetSurfaceVelocity(cpShape* shape);
cpDataPointer cpShapeGetUserData(cpShape* shape);
cpFloat cpShapePointQuery(cpShape* shape, cpVect p, cpPointQueryInfo* out);
cpBool cpShapeSegmentQuery(cpShape* shape, cpVect a, cpVect b, cpFloat radius, cpSegmentQueryInfo* info);
void cpShapeSetBody(cpShape* shape, cpBody* body);
void cpShapeSetCollisionType(cpShape* shape, cpCollisionType collisionType);
void cpShapeSetDensity(cpShape* shape, cpFloat density);
void cpShapeSetElasticity(cpShape* shape, cpFloat elasticity);
void cpShapeSetFilter(cpShape* shape, cpShapeFilter filter);
void cpShapeSetFriction(cpShape* shape, cpFloat friction);
void cpShapeSetMass(cpShape* shape, cpFloat mass);
void cpShapeSetSensor(cpShape* shape, cpBool sensor);
void cpShapeSetSurfaceVelocity(cpShape* shape, cpVect surfaceVelocity);
void cpShapeSetUserData(cpShape* shape, cpDataPointer userData);
cpBB cpShapeUpdate(cpShape* shape, cpTransform transform);
cpContactPointSet cpShapesCollide(cpShape* a, cpShape* b);
cpSimpleMotor* cpSimpleMotorAlloc();
cpFloat cpSimpleMotorGetRate(cpConstraint* constraint);
cpSimpleMotor* cpSimpleMotorInit(cpSimpleMotor* joint, cpBody* a, cpBody* b, cpFloat rate);
cpConstraint* cpSimpleMotorNew(cpBody* a, cpBody* b, cpFloat rate);
void cpSimpleMotorSetRate(cpConstraint* constraint, cpFloat rate);
cpSlideJoint* cpSlideJointAlloc();
cpVect cpSlideJointGetAnchorA(cpConstraint* constraint);
cpVect cpSlideJointGetAnchorB(cpConstraint* constraint);
cpFloat cpSlideJointGetMax(cpConstraint* constraint);
cpFloat cpSlideJointGetMin(cpConstraint* constraint);
cpSlideJoint* cpSlideJointInit(cpSlideJoint* joint, cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB, cpFloat min, cpFloat max);
cpConstraint* cpSlideJointNew(cpBody* a, cpBody* b, cpVect anchorA, cpVect anchorB, cpFloat min, cpFloat max);
void cpSlideJointSetAnchorA(cpConstraint* constraint, cpVect anchorA);
void cpSlideJointSetAnchorB(cpConstraint* constraint, cpVect anchorB);
void cpSlideJointSetMax(cpConstraint* constraint, cpFloat max);
void cpSlideJointSetMin(cpConstraint* constraint, cpFloat min);
cpBody* cpSpaceAddBody(cpSpace* space, cpBody* body);
cpCollisionHandler* cpSpaceAddCollisionHandler(cpSpace* space, cpCollisionType a, cpCollisionType b);
cpConstraint* cpSpaceAddConstraint(cpSpace* space, cpConstraint* constraint);
cpCollisionHandler* cpSpaceAddDefaultCollisionHandler(cpSpace* space);
cpBool cpSpaceAddPostStepCallback(cpSpace* space, cpPostStepFunc func, void* key, void* data);
cpShape* cpSpaceAddShape(cpSpace* space, cpShape* shape);
cpCollisionHandler* cpSpaceAddWildcardHandler(cpSpace* space, cpCollisionType type);
void cpSpaceBBQuery(cpSpace* space, cpBB bb, cpShapeFilter filter, cpSpaceBBQueryFunc func, void* data);
cpBool cpSpaceContainsBody(cpSpace* space, cpBody* body);
cpBool cpSpaceContainsConstraint(cpSpace* space, cpConstraint* constraint);
cpBool cpSpaceContainsShape(cpSpace* space, cpShape* shape);
void cpSpaceDebugDraw(cpSpace* space, cpSpaceDebugDrawOptions* options);
void cpSpaceDestroy(cpSpace* space);
void cpSpaceEachBody(cpSpace* space, cpSpaceBodyIteratorFunc func, void* data);
void cpSpaceEachConstraint(cpSpace* space, cpSpaceConstraintIteratorFunc func, void* data);
void cpSpaceEachShape(cpSpace* space, cpSpaceShapeIteratorFunc func, void* data);
void cpSpaceFree(cpSpace* space);
cpFloat cpSpaceGetCollisionBias(cpSpace* space);
cpTimestamp cpSpaceGetCollisionPersistence(cpSpace* space);
cpFloat cpSpaceGetCollisionSlop(cpSpace* space);
cpFloat cpSpaceGetCurrentTimeStep(cpSpace* space);
cpFloat cpSpaceGetDamping(cpSpace* space);
cpVect cpSpaceGetGravity(cpSpace* space);
cpFloat cpSpaceGetIdleSpeedThreshold(cpSpace* space);
int cpSpaceGetIterations(cpSpace* space);
cpFloat cpSpaceGetSleepTimeThreshold(cpSpace* space);
cpBody* cpSpaceGetStaticBody(cpSpace* space);
cpDataPointer cpSpaceGetUserData(cpSpace* space);
cpSpaceHash* cpSpaceHashAlloc();
cpSpatialIndex* cpSpaceHashInit(cpSpaceHash* hash, cpFloat celldim, int numcells, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
cpSpatialIndex* cpSpaceHashNew(cpFloat celldim, int cells, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
void cpSpaceHashResize(cpSpaceHash* hash, cpFloat celldim, int numcells);
cpSpace* cpSpaceInit(cpSpace* space);
cpBool cpSpaceIsLocked(cpSpace* space);
void cpSpacePointQuery(cpSpace* space, cpVect point, cpFloat maxDistance, cpShapeFilter filter, cpSpacePointQueryFunc func, void* data);
cpShape* cpSpacePointQueryNearest(cpSpace* space, cpVect point, cpFloat maxDistance, cpShapeFilter filter, cpPointQueryInfo* out);
void cpSpaceReindexShape(cpSpace* space, cpShape* shape);
void cpSpaceReindexShapesForBody(cpSpace* space, cpBody* body);
void cpSpaceReindexStatic(cpSpace* space);
void cpSpaceRemoveBody(cpSpace* space, cpBody* body);
void cpSpaceRemoveConstraint(cpSpace* space, cpConstraint* constraint);
void cpSpaceRemoveShape(cpSpace* space, cpShape* shape);
void cpSpaceSegmentQuery(cpSpace* space, cpVect start, cpVect end, cpFloat radius, cpShapeFilter filter, cpSpaceSegmentQueryFunc func, void* data);
cpShape* cpSpaceSegmentQueryFirst(cpSpace* space, cpVect start, cpVect end, cpFloat radius, cpShapeFilter filter, cpSegmentQueryInfo* out);
void cpSpaceSetCollisionBias(cpSpace* space, cpFloat collisionBias);
void cpSpaceSetCollisionPersistence(cpSpace* space, cpTimestamp collisionPersistence);
void cpSpaceSetCollisionSlop(cpSpace* space, cpFloat collisionSlop);
void cpSpaceSetDamping(cpSpace* space, cpFloat damping);
void cpSpaceSetGravity(cpSpace* space, cpVect gravity);
void cpSpaceSetIdleSpeedThreshold(cpSpace* space, cpFloat idleSpeedThreshold);
void cpSpaceSetIterations(cpSpace* space, int iterations);
void cpSpaceSetSleepTimeThreshold(cpSpace* space, cpFloat sleepTimeThreshold);
void cpSpaceSetUserData(cpSpace* space, cpDataPointer userData);
cpBool cpSpaceShapeQuery(cpSpace* space, cpShape* shape, cpSpaceShapeQueryFunc func, void* data);
void cpSpaceStep(cpSpace* space, cpFloat dt);
void cpSpaceUseSpatialHash(cpSpace* space, cpFloat dim, int count);
void cpSpatialIndexCollideStatic(cpSpatialIndex* dynamicIndex, cpSpatialIndex* staticIndex, cpSpatialIndexQueryFunc func, void* data);
void cpSpatialIndexFree(cpSpatialIndex* index);
cpSpatialIndex* cpSweep1DInit(cpSweep1D* sweep, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
cpSpatialIndex* cpSweep1DNew(cpSpatialIndexBBFunc bbfunc, cpSpatialIndex* staticIndex);
Allocates foreign memory for chipmunk vector. Manual memory freeing required.
Jump to: | A B C D F G M P R S V |
---|
Jump to: | A B C D F G M P R S V |
---|
Jump to: | +
S |
---|
Jump to: | +
S |
---|
Jump to: | %
B C F M P S |
---|
Jump to: | %
B C F M P S |
---|