Skip to content

c-krit/ferox v0.9.0 "Lemurian"

Compare
Choose a tag to compare
@jdeokkim jdeokkim released this 28 Sep 15:37
· 49 commits to main since this release
f178650

Features

Breaking Changes

WARNING: This version introduces several backward-incompatible API changes!


  • The member variables of frTransform.rotation has been renamed to sin_ and cos_.

  • frInsertToSpatialHash() has been renamed to frInsertIntoSpatialHash().

  • Added the following functions to the src/rigid-body.c module:
    • frVector2 frGetBodyForce(const frBody *b);
    • float frGetBodyTorque(const frBody *b);

  • Added a new module src/utils.c, and the following functions:
    • frRingBuffer *frCreateRingBuffer(size_t length);
    • void frReleaseRingBuffer(frRingBuffer *rbf);
    • bool frAddNodeToRingBuffer(frRingBuffer *rbf, frContextNode node);
    • bool frRemoveNodeFromRingBuffer(frRingBuffer *rbf, frContextNode *node);

  • frGetBodyFromWorld() has been renamed to frGetBodyInWorld().
  • frGetBodyCountForWorld() has been renamed to frGetBodyCountInWorld().

Bug Fixes

  • Fixed a bug where frStepWorld() would not discard invalid cache entries.

Documentation

  • Added install and uninstall targets to the root Makefile.*s.
  • Added rebuild target to all Makefile.*s.
  • Added a test suite for src/utils.c.