bodge-chipmunk

API Reference

bodge-chipmunk

Wrapper over chipmunk 2d physics library

%CHIPMUNK

  • Variable +FP-NAN+
    0
  • Variable +FP-INFINITE+
    1
  • Variable +FP-ZERO+
    2
  • Variable +FP-SUBNORMAL+
    3
  • Variable +FP-NORMAL+
    4
  • Variable +_IEEE_+
    4294967295
  • Variable +_SVID_+
    0
  • Variable +_XOPEN_+
    1
  • Variable +_POSIX_+
    2
  • Variable +_ISOC_+
    3
  • Variable +VZERO+
    nil
  • Variable +TRANSFORM-IDENTITY+
    nil
  • Variable +BODY-TYPE-DYNAMIC+
    0
  • Variable +BODY-TYPE-KINEMATIC+
    1
  • Variable +BODY-TYPE-STATIC+
    2
  • Variable +SHAPE-FILTER-ALL+
    nil
  • Variable +SHAPE-FILTER-NONE+
    nil
  • Variable +SPACE-DEBUG-DRAW-SHAPES+
    1
  • Variable +SPACE-DEBUG-DRAW-CONSTRAINTS+
    2
  • Variable +SPACE-DEBUG-DRAW-COLLISION-POINTS+
    4
  • Variable +FREE+
    nil
  • Variable +CALLOC+
    nil
  • Variable +REALLOC+
    nil
  • Variable +BUFFER-BYTES+
    32768
  • Variable +VERSION-RELEASE+
    2
  • Variable +VERSION-MAJOR+
    7
  • Variable +VERSION-MINOR+
    0
  • Variable +EXPORT+
    nil
  • Variable +MAX-CONTACTS-PER-ARBITER+
    2
  • Variable +FALSE+
    0
  • Variable +TRUE+
    1
  • Variable +WILDCARD-COLLISION-TYPE+
    -1
  • Variable +NO-GROUP+
    0
  • Variable +ALL-CATEGORIES+
    4294967295
  • Variable +FFLOOR+
    nil
  • Variable +FPOW+
    nil
  • Variable +FCEIL+
    nil
  • Variable +PI+
    3
  • Variable +USE-DOUBLES+
    1
  • Variable +FSIN+
    nil
  • Variable +FSQRT+
    nil
  • Variable +FACOS+
    nil
  • Variable +FCOS+
    nil
  • Variable +FMOD+
    nil
  • Variable +FEXP+
    nil
  • Variable +FATAN2+
    nil
  • Macro MESSAGE (condition file line is-error is-hard-error message &rest rest12)
  • Function SPACE-HASH-ALLOC
  • Function SPACE-HASH-INIT (hash celldim numcells bbfunc static-index)
  • Function SPACE-HASH-NEW (celldim cells bbfunc static-index)
  • Function SPACE-HASH-RESIZE (hash celldim numcells)
  • Function BB-TREE-ALLOC
  • Function BB-TREE-INIT (tree bbfunc static-index)
  • Function BB-TREE-NEW (bbfunc static-index)
  • Function BB-TREE-OPTIMIZE (index)
  • Function BB-TREE-SET-VELOCITY-FUNC (index func)
  • Function SWEEP1D-ALLOC
  • Function SWEEP1D-INIT (sweep bbfunc static-index)
  • Function SWEEP1D-NEW (bbfunc static-index)
  • Function SPATIAL-INDEX-FREE (index)
  • Function SPATIAL-INDEX-COLLIDE-STATIC (dynamic-index static-index func data)
  • Function ARBITER-GET-RESTITUTION (arb)
  • Function ARBITER-SET-RESTITUTION (arb restitution)
  • Function ARBITER-GET-FRICTION (arb)
  • Function ARBITER-SET-FRICTION (arb friction)
  • Function ARBITER-GET-SURFACE-VELOCITY (return-value arb)
  • Function ARBITER-SET-SURFACE-VELOCITY (arb vr)
  • Function ARBITER-GET-USER-DATA (arb)
  • Function ARBITER-SET-USER-DATA (arb user-data)
  • Function ARBITER-TOTAL-IMPULSE (return-value arb)
  • Function ARBITER-TOTAL-KE (arb)
  • Function ARBITER-IGNORE (arb)
  • Function ARBITER-GET-SHAPES (arb a b)
  • Function ARBITER-GET-BODIES (arb a b)
  • Function ARBITER-GET-CONTACT-POINT-SET (return-value arb)
  • Function ARBITER-SET-CONTACT-POINT-SET (arb set)
  • Function ARBITER-IS-FIRST-CONTACT (arb)
  • Function ARBITER-IS-REMOVAL (arb)
  • Function ARBITER-GET-COUNT (arb)
  • Function ARBITER-GET-NORMAL (return-value arb)
  • Function ARBITER-GET-POINT-A (return-value arb i)
  • Function ARBITER-GET-POINT-B (return-value arb i)
  • Function ARBITER-GET-DEPTH (arb i)
  • Function ARBITER-CALL-WILDCARD-BEGIN-A (arb space)
  • Function ARBITER-CALL-WILDCARD-BEGIN-B (arb space)
  • Function ARBITER-CALL-WILDCARD-PRE-SOLVE-A (arb space)
  • Function ARBITER-CALL-WILDCARD-PRE-SOLVE-B (arb space)
  • Function ARBITER-CALL-WILDCARD-POST-SOLVE-A (arb space)
  • Function ARBITER-CALL-WILDCARD-POST-SOLVE-B (arb space)
  • Function ARBITER-CALL-WILDCARD-SEPARATE-A (arb space)
  • Function ARBITER-CALL-WILDCARD-SEPARATE-B (arb space)
  • Function BODY-ALLOC
  • Function BODY-INIT (body mass moment)
  • Function BODY-NEW (mass moment)
  • Function BODY-NEW-KINEMATIC
  • Function BODY-NEW-STATIC
  • Function BODY-DESTROY (body)
  • Function BODY-FREE (body)
  • Function BODY-ACTIVATE (body)
  • Function BODY-ACTIVATE-STATIC (body filter)
  • Function BODY-SLEEP (body)
  • Function BODY-SLEEP-WITH-GROUP (body group)
  • Function BODY-IS-SLEEPING (body)
  • Function BODY-GET-TYPE (body)
  • Function BODY-SET-TYPE (body type)
  • Function BODY-GET-SPACE (body)
  • Function BODY-GET-MASS (body)
  • Function BODY-SET-MASS (body m)
  • Function BODY-GET-MOMENT (body)
  • Function BODY-SET-MOMENT (body i)
  • Function BODY-GET-POSITION (return-value body)
  • Function BODY-SET-POSITION (body pos)
  • Function BODY-GET-CENTER-OF-GRAVITY (return-value body)
  • Function BODY-SET-CENTER-OF-GRAVITY (body cog)
  • Function BODY-GET-VELOCITY (return-value body)
  • Function BODY-SET-VELOCITY (body velocity)
  • Function BODY-GET-FORCE (return-value body)
  • Function BODY-SET-FORCE (body force)
  • Function BODY-GET-ANGLE (body)
  • Function BODY-SET-ANGLE (body a)
  • Function BODY-GET-ANGULAR-VELOCITY (body)
  • Function BODY-SET-ANGULAR-VELOCITY (body angular-velocity)
  • Function BODY-GET-TORQUE (body)
  • Function BODY-SET-TORQUE (body torque)
  • Function BODY-GET-ROTATION (return-value body)
  • Function BODY-GET-USER-DATA (body)
  • Function BODY-SET-USER-DATA (body user-data)
  • Function BODY-SET-VELOCITY-UPDATE-FUNC (body velocity-func)
  • Function BODY-SET-POSITION-UPDATE-FUNC (body position-func)
  • Function BODY-UPDATE-VELOCITY (body gravity damping dt)
  • Function BODY-UPDATE-POSITION (body dt)
  • Function BODY-LOCAL-TO-WORLD (return-value body point)
  • Function BODY-WORLD-TO-LOCAL (return-value body point)
  • Function BODY-APPLY-FORCE-AT-WORLD-POINT (body force point)
  • Function BODY-APPLY-FORCE-AT-LOCAL-POINT (body force point)
  • Function BODY-APPLY-IMPULSE-AT-WORLD-POINT (body impulse point)
  • Function BODY-APPLY-IMPULSE-AT-LOCAL-POINT (body impulse point)
  • Function BODY-GET-VELOCITY-AT-WORLD-POINT (return-value body point)
  • Function BODY-GET-VELOCITY-AT-LOCAL-POINT (return-value body point)
  • Function BODY-KINETIC-ENERGY (body)
  • Function BODY-EACH-SHAPE (body func data)
  • Function BODY-EACH-CONSTRAINT (body func data)
  • Function BODY-EACH-ARBITER (body func data)
  • Function SHAPE-DESTROY (shape)
  • Function SHAPE-FREE (shape)
  • Function SHAPE-CACHE-BB (return-value shape)
  • Function SHAPE-UPDATE (return-value shape transform)
  • Function SHAPE-POINT-QUERY (shape p out)
  • Function SHAPE-SEGMENT-QUERY (shape a b radius info)
  • Function SHAPES-COLLIDE (return-value a b)
  • Function SHAPE-GET-SPACE (shape)
  • Function SHAPE-GET-BODY (shape)
  • Function SHAPE-SET-BODY (shape body)
  • Function SHAPE-GET-MASS (shape)
  • Function SHAPE-SET-MASS (shape mass)
  • Function SHAPE-GET-DENSITY (shape)
  • Function SHAPE-SET-DENSITY (shape density)
  • Function SHAPE-GET-MOMENT (shape)
  • Function SHAPE-GET-AREA (shape)
  • Function SHAPE-GET-CENTER-OF-GRAVITY (return-value shape)
  • Function SHAPE-GET-BB (return-value shape)
  • Function SHAPE-GET-SENSOR (shape)
  • Function SHAPE-SET-SENSOR (shape sensor)
  • Function SHAPE-GET-ELASTICITY (shape)
  • Function SHAPE-SET-ELASTICITY (shape elasticity)
  • Function SHAPE-GET-FRICTION (shape)
  • Function SHAPE-SET-FRICTION (shape friction)
  • Function SHAPE-GET-SURFACE-VELOCITY (return-value shape)
  • Function SHAPE-SET-SURFACE-VELOCITY (shape surface-velocity)
  • Function SHAPE-GET-USER-DATA (shape)
  • Function SHAPE-SET-USER-DATA (shape user-data)
  • Function SHAPE-GET-COLLISION-TYPE (shape)
  • Function SHAPE-SET-COLLISION-TYPE (shape collision-type)
  • Function SHAPE-GET-FILTER (return-value shape)
  • Function SHAPE-SET-FILTER (shape filter)
  • Function CIRCLE-SHAPE-ALLOC
  • Function CIRCLE-SHAPE-INIT (circle body radius offset)
  • Function CIRCLE-SHAPE-NEW (body radius offset)
  • Function CIRCLE-SHAPE-GET-OFFSET (return-value shape)
  • Function CIRCLE-SHAPE-GET-RADIUS (shape)
  • Function SEGMENT-SHAPE-ALLOC
  • Function SEGMENT-SHAPE-INIT (seg body a b radius)
  • Function SEGMENT-SHAPE-NEW (body a b radius)
  • Function SEGMENT-SHAPE-SET-NEIGHBORS (shape prev next)
  • Function SEGMENT-SHAPE-GET-A (return-value shape)
  • Function SEGMENT-SHAPE-GET-B (return-value shape)
  • Function SEGMENT-SHAPE-GET-NORMAL (return-value shape)
  • Function SEGMENT-SHAPE-GET-RADIUS (shape)
  • Function POLY-SHAPE-ALLOC
  • Function POLY-SHAPE-INIT (poly body count verts transform radius)
  • Function POLY-SHAPE-INIT-RAW (poly body count verts radius)
  • Function POLY-SHAPE-NEW (body count verts transform radius)
  • Function POLY-SHAPE-NEW-RAW (body count verts radius)
  • Function BOX-SHAPE-INIT (poly body width height radius)
  • Function BOX-SHAPE-INIT2 (poly body box radius)
  • Function BOX-SHAPE-NEW (body width height radius)
  • Function BOX-SHAPE-NEW2 (body box radius)
  • Function POLY-SHAPE-GET-COUNT (shape)
  • Function POLY-SHAPE-GET-VERT (return-value shape index)
  • Function POLY-SHAPE-GET-RADIUS (shape)
  • Function CONSTRAINT-DESTROY (constraint)
  • Function CONSTRAINT-FREE (constraint)
  • Function CONSTRAINT-GET-SPACE (constraint)
  • Function CONSTRAINT-GET-BODY-A (constraint)
  • Function CONSTRAINT-GET-BODY-B (constraint)
  • Function CONSTRAINT-GET-MAX-FORCE (constraint)
  • Function CONSTRAINT-SET-MAX-FORCE (constraint max-force)
  • Function CONSTRAINT-GET-ERROR-BIAS (constraint)
  • Function CONSTRAINT-SET-ERROR-BIAS (constraint error-bias)
  • Function CONSTRAINT-GET-MAX-BIAS (constraint)
  • Function CONSTRAINT-SET-MAX-BIAS (constraint max-bias)
  • Function CONSTRAINT-GET-COLLIDE-BODIES (constraint)
  • Function CONSTRAINT-SET-COLLIDE-BODIES (constraint collide-bodies)
  • Function CONSTRAINT-GET-PRE-SOLVE-FUNC (constraint)
  • Function CONSTRAINT-SET-PRE-SOLVE-FUNC (constraint pre-solve-func)
  • Function CONSTRAINT-GET-POST-SOLVE-FUNC (constraint)
  • Function CONSTRAINT-SET-POST-SOLVE-FUNC (constraint post-solve-func)
  • Function CONSTRAINT-GET-USER-DATA (constraint)
  • Function CONSTRAINT-SET-USER-DATA (constraint user-data)
  • Function CONSTRAINT-GET-IMPULSE (constraint)
  • Function CONSTRAINT-IS-PIN-JOINT (constraint)
  • Function PIN-JOINT-ALLOC
  • Function PIN-JOINT-INIT (joint a b anchor-a anchor-b)
  • Function PIN-JOINT-NEW (a b anchor-a anchor-b)
  • Function PIN-JOINT-GET-ANCHOR-A (return-value constraint)
  • Function PIN-JOINT-SET-ANCHOR-A (constraint anchor-a)
  • Function PIN-JOINT-GET-ANCHOR-B (return-value constraint)
  • Function PIN-JOINT-SET-ANCHOR-B (constraint anchor-b)
  • Function PIN-JOINT-GET-DIST (constraint)
  • Function PIN-JOINT-SET-DIST (constraint dist)
  • Function CONSTRAINT-IS-SLIDE-JOINT (constraint)
  • Function SLIDE-JOINT-ALLOC
  • Function SLIDE-JOINT-INIT (joint a b anchor-a anchor-b min max)
  • Function SLIDE-JOINT-NEW (a b anchor-a anchor-b min max)
  • Function SLIDE-JOINT-GET-ANCHOR-A (return-value constraint)
  • Function SLIDE-JOINT-SET-ANCHOR-A (constraint anchor-a)
  • Function SLIDE-JOINT-GET-ANCHOR-B (return-value constraint)
  • Function SLIDE-JOINT-SET-ANCHOR-B (constraint anchor-b)
  • Function SLIDE-JOINT-GET-MIN (constraint)
  • Function SLIDE-JOINT-SET-MIN (constraint min)
  • Function SLIDE-JOINT-GET-MAX (constraint)
  • Function SLIDE-JOINT-SET-MAX (constraint max)
  • Function CONSTRAINT-IS-PIVOT-JOINT (constraint)
  • Function PIVOT-JOINT-ALLOC
  • Function PIVOT-JOINT-INIT (joint a b anchor-a anchor-b)
  • Function PIVOT-JOINT-NEW (a b pivot)
  • Function PIVOT-JOINT-NEW2 (a b anchor-a anchor-b)
  • Function PIVOT-JOINT-GET-ANCHOR-A (return-value constraint)
  • Function PIVOT-JOINT-SET-ANCHOR-A (constraint anchor-a)
  • Function PIVOT-JOINT-GET-ANCHOR-B (return-value constraint)
  • Function PIVOT-JOINT-SET-ANCHOR-B (constraint anchor-b)
  • Function CONSTRAINT-IS-GROOVE-JOINT (constraint)
  • Function GROOVE-JOINT-ALLOC
  • Function GROOVE-JOINT-INIT (joint a b groove-a groove-b anchor-b)
  • Function GROOVE-JOINT-NEW (a b groove-a groove-b anchor-b)
  • Function GROOVE-JOINT-GET-GROOVE-A (return-value constraint)
  • Function GROOVE-JOINT-SET-GROOVE-A (constraint groove-a)
  • Function GROOVE-JOINT-GET-GROOVE-B (return-value constraint)
  • Function GROOVE-JOINT-SET-GROOVE-B (constraint groove-b)
  • Function GROOVE-JOINT-GET-ANCHOR-B (return-value constraint)
  • Function GROOVE-JOINT-SET-ANCHOR-B (constraint anchor-b)
  • Function CONSTRAINT-IS-DAMPED-SPRING (constraint)
  • Function DAMPED-SPRING-ALLOC
  • Function DAMPED-SPRING-INIT (joint a b anchor-a anchor-b rest-length stiffness damping)
  • Function DAMPED-SPRING-NEW (a b anchor-a anchor-b rest-length stiffness damping)
  • Function DAMPED-SPRING-GET-ANCHOR-A (return-value constraint)
  • Function DAMPED-SPRING-SET-ANCHOR-A (constraint anchor-a)
  • Function DAMPED-SPRING-GET-ANCHOR-B (return-value constraint)
  • Function DAMPED-SPRING-SET-ANCHOR-B (constraint anchor-b)
  • Function DAMPED-SPRING-GET-REST-LENGTH (constraint)
  • Function DAMPED-SPRING-SET-REST-LENGTH (constraint rest-length)
  • Function DAMPED-SPRING-GET-STIFFNESS (constraint)
  • Function DAMPED-SPRING-SET-STIFFNESS (constraint stiffness)
  • Function DAMPED-SPRING-GET-DAMPING (constraint)
  • Function DAMPED-SPRING-SET-DAMPING (constraint damping)
  • Function DAMPED-SPRING-GET-SPRING-FORCE-FUNC (constraint)
  • Function DAMPED-SPRING-SET-SPRING-FORCE-FUNC (constraint spring-force-func)
  • Function CONSTRAINT-IS-DAMPED-ROTARY-SPRING (constraint)
  • Function DAMPED-ROTARY-SPRING-ALLOC
  • Function DAMPED-ROTARY-SPRING-INIT (joint a b rest-angle stiffness damping)
  • Function DAMPED-ROTARY-SPRING-NEW (a b rest-angle stiffness damping)
  • Function DAMPED-ROTARY-SPRING-GET-REST-ANGLE (constraint)
  • Function DAMPED-ROTARY-SPRING-SET-REST-ANGLE (constraint rest-angle)
  • Function DAMPED-ROTARY-SPRING-GET-STIFFNESS (constraint)
  • Function DAMPED-ROTARY-SPRING-SET-STIFFNESS (constraint stiffness)
  • Function DAMPED-ROTARY-SPRING-GET-DAMPING (constraint)
  • Function DAMPED-ROTARY-SPRING-SET-DAMPING (constraint damping)
  • Function DAMPED-ROTARY-SPRING-GET-SPRING-TORQUE-FUNC (constraint)
  • Function DAMPED-ROTARY-SPRING-SET-SPRING-TORQUE-FUNC (constraint spring-torque-func)
  • Function CONSTRAINT-IS-ROTARY-LIMIT-JOINT (constraint)
  • Function ROTARY-LIMIT-JOINT-ALLOC
  • Function ROTARY-LIMIT-JOINT-INIT (joint a b min max)
  • Function ROTARY-LIMIT-JOINT-NEW (a b min max)
  • Function ROTARY-LIMIT-JOINT-GET-MIN (constraint)
  • Function ROTARY-LIMIT-JOINT-SET-MIN (constraint min)
  • Function ROTARY-LIMIT-JOINT-GET-MAX (constraint)
  • Function ROTARY-LIMIT-JOINT-SET-MAX (constraint max)
  • Function CONSTRAINT-IS-RATCHET-JOINT (constraint)
  • Function RATCHET-JOINT-ALLOC
  • Function RATCHET-JOINT-INIT (joint a b phase ratchet)
  • Function RATCHET-JOINT-NEW (a b phase ratchet)
  • Function RATCHET-JOINT-GET-ANGLE (constraint)
  • Function RATCHET-JOINT-SET-ANGLE (constraint angle)
  • Function RATCHET-JOINT-GET-PHASE (constraint)
  • Function RATCHET-JOINT-SET-PHASE (constraint phase)
  • Function RATCHET-JOINT-GET-RATCHET (constraint)
  • Function RATCHET-JOINT-SET-RATCHET (constraint ratchet)
  • Function CONSTRAINT-IS-GEAR-JOINT (constraint)
  • Function GEAR-JOINT-ALLOC
  • Function GEAR-JOINT-INIT (joint a b phase ratio)
  • Function GEAR-JOINT-NEW (a b phase ratio)
  • Function GEAR-JOINT-GET-PHASE (constraint)
  • Function GEAR-JOINT-SET-PHASE (constraint phase)
  • Function GEAR-JOINT-GET-RATIO (constraint)
  • Function GEAR-JOINT-SET-RATIO (constraint ratio)
  • Function CONSTRAINT-IS-SIMPLE-MOTOR (constraint)
  • Function SIMPLE-MOTOR-ALLOC
  • Function SIMPLE-MOTOR-INIT (joint a b rate)
  • Function SIMPLE-MOTOR-NEW (a b rate)
  • Function SIMPLE-MOTOR-GET-RATE (constraint)
  • Function SIMPLE-MOTOR-SET-RATE (constraint rate)
  • Function SPACE-ALLOC
  • Function SPACE-INIT (space)
  • Function SPACE-NEW
  • Function SPACE-DESTROY (space)
  • Function SPACE-FREE (space)
  • Function SPACE-GET-ITERATIONS (space)
  • Function SPACE-SET-ITERATIONS (space iterations)
  • Function SPACE-GET-GRAVITY (return-value space)
  • Function SPACE-SET-GRAVITY (space gravity)
  • Function SPACE-GET-DAMPING (space)
  • Function SPACE-SET-DAMPING (space damping)
  • Function SPACE-GET-IDLE-SPEED-THRESHOLD (space)
  • Function SPACE-SET-IDLE-SPEED-THRESHOLD (space idle-speed-threshold)
  • Function SPACE-GET-SLEEP-TIME-THRESHOLD (space)
  • Function SPACE-SET-SLEEP-TIME-THRESHOLD (space sleep-time-threshold)
  • Function SPACE-GET-COLLISION-SLOP (space)
  • Function SPACE-SET-COLLISION-SLOP (space collision-slop)
  • Function SPACE-GET-COLLISION-BIAS (space)
  • Function SPACE-SET-COLLISION-BIAS (space collision-bias)
  • Function SPACE-GET-COLLISION-PERSISTENCE (space)
  • Function SPACE-SET-COLLISION-PERSISTENCE (space collision-persistence)
  • Function SPACE-GET-USER-DATA (space)
  • Function SPACE-SET-USER-DATA (space user-data)
  • Function SPACE-GET-STATIC-BODY (space)
  • Function SPACE-GET-CURRENT-TIME-STEP (space)
  • Function SPACE-IS-LOCKED (space)
  • Function SPACE-ADD-DEFAULT-COLLISION-HANDLER (space)
  • Function SPACE-ADD-COLLISION-HANDLER (space a b)
  • Function SPACE-ADD-WILDCARD-HANDLER (space type)
  • Function SPACE-ADD-SHAPE (space shape)
  • Function SPACE-ADD-BODY (space body)
  • Function SPACE-ADD-CONSTRAINT (space constraint)
  • Function SPACE-REMOVE-SHAPE (space shape)
  • Function SPACE-REMOVE-BODY (space body)
  • Function SPACE-REMOVE-CONSTRAINT (space constraint)
  • Function SPACE-CONTAINS-SHAPE (space shape)
  • Function SPACE-CONTAINS-BODY (space body)
  • Function SPACE-CONTAINS-CONSTRAINT (space constraint)
  • Function SPACE-ADD-POST-STEP-CALLBACK (space func key data)
  • Function SPACE-POINT-QUERY (space point max-distance filter func data)
  • Function SPACE-POINT-QUERY-NEAREST (space point max-distance filter out)
  • Function SPACE-SEGMENT-QUERY (space start end radius filter func data)
  • Function SPACE-SEGMENT-QUERY-FIRST (space start end radius filter out)
  • Function SPACE-BB-QUERY (space bb filter func data)
  • Function SPACE-SHAPE-QUERY (space shape func data)
  • Function SPACE-EACH-BODY (space func data)
  • Function SPACE-EACH-SHAPE (space func data)
  • Function SPACE-EACH-CONSTRAINT (space func data)
  • Function SPACE-REINDEX-STATIC (space)
  • Function SPACE-REINDEX-SHAPE (space shape)
  • Function SPACE-REINDEX-SHAPES-FOR-BODY (space body)
  • Function SPACE-USE-SPATIAL-HASH (space dim count)
  • Function SPACE-STEP (space dt)
  • Function SPACE-DEBUG-DRAW (space options)
  • Function MOMENT-FOR-CIRCLE (m r1 r2 offset)
  • Function AREA-FOR-CIRCLE (r1 r2)
  • Function MOMENT-FOR-SEGMENT (m a b radius)
  • Function AREA-FOR-SEGMENT (a b radius)
  • Function MOMENT-FOR-POLY (m count verts offset radius)
  • Function AREA-FOR-POLY (count verts radius)
  • Function CENTROID-FOR-POLY (return-value count verts)
  • Function MOMENT-FOR-BOX (m width height)
  • Function MOMENT-FOR-BOX2 (m box)
  • Function CONVEX-HULL (count verts result first tol)
  • Function DUMP-CLAW-C-WRAPPER (library-path)

CHIPMUNK

  • Function V (x y)
    Allocates foreign memory for chipmunk vector. Manual memory freeing required.
  • Variable +VZERO+
    (chipmunk:v 0.0d0 0.0d0)