three-to-ammo icon indicating copy to clipboard operation
three-to-ammo copied to clipboard

Compatibility fix for three.js >= r123

Open yandeu opened this issue 4 years ago • 1 comments

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

yandeu avatar Dec 06 '20 21:12 yandeu

parseInt(THREE.REVISION) would be better than +THREE.REVISION

yandeu avatar Feb 01 '21 18:02 yandeu