subprotocol / verlet-js

A simple Verlet physics engine written in javascript
Other
3.76k stars 461 forks source link

Fix for boundary spinning #8

Open cwgreene opened 11 years ago

cwgreene commented 11 years ago

This also contains some code that will make it easier to define arbitrary boundaries for lines.

subprotocol commented 11 years ago

This is great! One comment is inline. Also:

I appear to be using tabs for spacing. It looks like your editor is using spaces. Could you switch to use tabs so that the indentations match?

line 165: https://github.com/cwgreene/verlet-js/blob/master/js/verlet-js/verlet.js we may no longer need this block, as I think the groundFriction would be moved into your bounds function.

cwgreene commented 11 years ago

Sure, hopefully can get around to it this weekend.