CDN of OrbitControls.js in v0.126.1 starts with the following which use a relative path for three.module.js
.
import {
EventDispatcher,
MOUSE,
Quaternion,
Spherical,
TOUCH,
Vector2,
Vector3
} from '../../../build/three.module.js';
However, the CDN of OrbitControls.js in v0.128.0 is different, in which three is referred directly:
import {
EventDispatcher,
MOUSE,
Quaternion,
Spherical,
TOUCH,
Vector2,
Vector3
} from 'three';
May I ask:
- the difference between these two OrbitControls.js, and
- how it will affect the way OrbitControls.js is imported?
Thanks.