Skip to content

Releases: lambdaisland/cljbox2d

v0.8.46

01 Mar 09:16
Compare
Choose a tag to compare

Added

  • Add a null-implementation for joints to Contact, so find-by works on
    Contact instances

v0.7.43

01 Mar 08:59
Compare
Choose a tag to compare

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

v0.6.31

14 Mar 10:23
Compare
Choose a tag to compare

Added

  • Clojure2d support
  • math/vec-mul, and shorter math aliases (v+, v*, m*, etc)

Changed

  • Breaking! Return maps from raycast-seq, rather than fixtures, allow setting
    raycast-callback return value to set filtering behavior.

v0.5.23

11 Mar 11:45
Compare
Choose a tag to compare

Fixed

  • Rewrite to a single :require form to appease cljdoc

v0.4.19

11 Mar 10:05
Compare
Choose a tag to compare

Fixed

  • Fix cljdoc build
  • Fix platformer demo, load images from resources (jar) instead of filesystem
  • Switch to Quil 4

v0.3.16

11 Mar 09:44
Compare
Choose a tag to compare

Added

Fixed

Changed

v0.2.12

11 Mar 08:50
Compare
Choose a tag to compare

Added

Fixed

Changed

v0.1.9

11 Mar 08:36
Compare
Choose a tag to compare

Added

  • First release, with jBox2D (clj) and Planck.js (cljs) support