three-to-ammo
three-to-ammo copied to clipboard
Compatibility fix for three.js >= r123
Since three.js r123, Matrix3/4.getInverse()
has been deprecated. We use matrixInv.copy( matrix ).invert();
instead.
See: https://github.com/mrdoob/three.js/wiki/Migration-Guide
parseInt(THREE.REVISION)
would be better than +THREE.REVISION