Skip to content

v0.7.43

Compare
Choose a tag to compare
@plexus plexus released this 01 Mar 08:59
· 13 commits to main since this release

Added

  • Added two-arity version of apply-impulse!, defaults to wake? false
  • Implement joints for body instances. This returns nil, since joints are
    part of the world, but it allows code to recurse safely by calling bodies
    and joints on various entities

Fixed

  • Make return type tags in protocols fully qualified, Clojure seems to like that
    better
  • Fix PrismaticJointDef creation, some vector fields are final, we can only
    mutate the existing instance
  • Wrap destroy in a mutex, to allow for rendering of a consistent world view
  • Prevent exceptions in the Clojure2D renderer when the world is being changed
    underneath it
  • Fix 2-arity circle shape constructor

Changed

  • When adding bodies/joints that have an :id, remove any bodies/joints with
    the same :id. This is to ensure uniqueness, but also makes for a nicer REPL
    experience
  • When converting to edn (IValue), include :joints for world, and omit default
    values for body