highfidelity/hifi — pull request #1670 by AndrewMeadows (2014-01-24 00:24:05+00:00)
Title: Zero length penetrations

Just some minor cleanup and comments about some NaN's that I noticed and tracked down. No functional change.

Note: dividing the penetration by TREE_SCALE is not necessary for the updateCollisionSound() call (which just tries to normalized penetration --> more accuracy when the elements of penetration are not too small), but is still necessary for the applyHardCollision() call, so I just moved that divide operation down a line.