Open kfarr opened 1 year ago
I get the following error when using this component with aframe 1.4.2 / three 0.147.1
caught (in promise) TypeError: Cannot read properties of undefined (reading 'floorPowerOfTwo')
First occurrence: https://github.com/mattrei/aframe-mapbox-component/blob/master/index.js#L241
Root cause: Math has been renamed to MathUtils with r113
Suggested solution: replace THREE.Math with THREE.MathUtils in index.js
this PR fixes the issue https://github.com/mattrei/aframe-mapbox-component/pull/35
I get the following error when using this component with aframe 1.4.2 / three 0.147.1
caught (in promise) TypeError: Cannot read properties of undefined (reading 'floorPowerOfTwo')
First occurrence: https://github.com/mattrei/aframe-mapbox-component/blob/master/index.js#L241
Root cause: Math has been renamed to MathUtils with r113
Suggested solution: replace THREE.Math with THREE.MathUtils in index.js