Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Latest commit

 

History

History
58 lines (43 loc) · 2.16 KB

changelog.md

File metadata and controls

58 lines (43 loc) · 2.16 KB

Changelog

0.1.0

  • Initial release

0.2.0

  • Make mocks for Simulation more flexible

0.4.1

  • Add support for intersection tests with arbitrary polygons. Issue #49

0.5.0

  • Move own_description from the signature of ObjectBehavior::step to the new function WorldInteractor::own_object(&self) -> Object<'_>
    • This also allows access to an object's own ID
  • Support object retrieval with an ID via Simulation::object(&self, id: Id) -> Option<Object<'_>>

0.6.0

  • Actually expose the collision checks added in 0.4.1 in WorldInteractor
  • Improve performance by using references to Polygons everywhere

0.6.1

  • Add raycast support via Simulation::objects_in_ray(&self, origin: Point, direction: Vector) -> Snapshot<'_>;

0.7.0

  • Re-export myelin_geometry as geometry

0.8.0

  • Expose objects_in_ray through WorldIterator::find_objects_in_ray

0.9.0

  • World::is_body_passable has been removed. Use PhysicalBody::passable (returned by World::body) instead.
  • The passable field on objects is respected by NphysicsWorld: Passable objects can overlap with other objects including other passable objects.
  • All traits except ObjectBehavior have been sealed and can therefore no longer be implemented by other crates.
  • The trait NphysicsRotationTranslator has been removed to simplify the internal API.

0.10.0

  • Mockiato has been updated to 0.3
  • geometry has been updated to 2.4

0.11.0

  • Mockiato has been updated to 0.4

0.12.0

  • ObjectBehavior::as_any no longer needs to be implemented manually.
  • Mocks for ObjectBehavior and Simulation are now generated by mockiato.

0.13.0

  • associated_object_data is a generic type instead of a Vec<u8>. All types that deal with ObjectDescription therefore have received a generic type parameter T.
  • ObjectBuilder::build will return an error when associated_object_data() is never called. This is not the case for types that implement Default.

0.14.0

  • Mockiato has been updated to '0.8'

0.14.1

  • Mockiato has been updated to '0.9'
  • ncollide has been updated to '0.20'
  • nphysics has been updated to '0.12'