lo-th / Oimo.js

Lightweight 3d physics engine for javascript
http://lo-th.github.io/Oimo.js
MIT License
3.05k stars 301 forks source link

Minor duplicate code updating three.js mesh #68

Open d3x0r opened 6 years ago

d3x0r commented 6 years ago

This line does a mesh update, then a few lines later(389) the mesh is updated again.

https://github.com/lo-th/Oimo.js/blob/gh-pages/src/core/RigidBody.js#L382