New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cleanup] Tidied up the 'node_t' struct some more #1033

merged 4 commits into from Jun 4, 2016


None yet
1 participant

ulteq commented Jun 4, 2016

Main product:

  • Removed redundant node_t member smoothpos
  • Removed unused node_t member collRadius
  • Reduced the size of some node_t members

Secondary product:

  • Refactored updateTruckPosition into calculateAveragePosition and updateBoundingBox
  • Refactored handleTruckPosition into preUpdatePhysics and postUpdatePhysics

Both preUpdatePhysics and postUpdatePhysics are now run by the sim thread.

@ulteq ulteq merged commit 8eee2f4 into RigsOfRods:master Jun 4, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@ulteq ulteq deleted the ulteq:smoothpos-removal branch Jun 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment