I am using Threebox with Mapbox, I define threebox like so:
(window as any).tb = new Threebox(this, gl, { defaultLights: true });
but I am also importing THREE like so:
import * as THREE from 'three';
So that I can use it for things like raycasting.
I am getting this warning in my app:
"WARNING: Multiple instances of Three.js being imported."
I am wondering if there is a way to get threebox to use the same instance of THREE, or be able to use the threebox instance of THREE somehow, without importing THREE again.