diff --git a/src/layers/hexbin.js b/src/layers/hexbin.js index bb0cf65..970bd09 100755 --- a/src/layers/hexbin.js +++ b/src/layers/hexbin.js @@ -18,7 +18,7 @@ const THREE = window.THREE Object3D }; -import * as _bfg from 'three/addons/utils/BufferGeometryUtils.js'; +import * as _bfg from 'three/examples/jsm/utils/BufferGeometryUtils.js'; const bfg = Object.assign({}, _bfg); const BufferGeometryUtils = bfg.BufferGeometryUtils || bfg; diff --git a/src/layers/hexedPolygons.js b/src/layers/hexedPolygons.js index 4c54899..f6d90a7 100755 --- a/src/layers/hexedPolygons.js +++ b/src/layers/hexedPolygons.js @@ -18,7 +18,7 @@ const THREE = window.THREE Vector3 }; -import * as _bfg from 'three/addons/utils/BufferGeometryUtils.js'; +import * as _bfg from 'three/examples/jsm/utils/BufferGeometryUtils.js'; const bfg = Object.assign({}, _bfg); const BufferGeometryUtils = bfg.BufferGeometryUtils || bfg; diff --git a/src/layers/htmlElements.js b/src/layers/htmlElements.js index b7d2074..d0c25ba 100755 --- a/src/layers/htmlElements.js +++ b/src/layers/htmlElements.js @@ -1,4 +1,4 @@ -import { CSS2DObject } from 'three/addons/renderers/CSS2DRenderer.js'; +import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer.js'; const THREE = { ...(window.THREE diff --git a/src/layers/labels.js b/src/layers/labels.js index 93d38c8..00b15e7 100755 --- a/src/layers/labels.js +++ b/src/layers/labels.js @@ -8,8 +8,8 @@ import { Vector3 } from 'three'; -import { TextGeometry } from 'three/addons/geometries/TextGeometry.js'; -import { Font } from 'three/addons/loaders/FontLoader.js'; +import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry.js'; +import { Font } from 'three/examples/jsm/loaders/FontLoader.js'; const THREE = { ...(window.THREE diff --git a/src/layers/paths.js b/src/layers/paths.js index d84f849..d75b38b 100644 --- a/src/layers/paths.js +++ b/src/layers/paths.js @@ -20,9 +20,9 @@ const THREE = window.THREE Vector3 }; -import { Line2 } from 'three/addons/lines/Line2.js'; -import { LineGeometry } from 'three/addons/lines/LineGeometry.js'; -import { LineMaterial } from 'three/addons/lines/LineMaterial.js'; +import { Line2 } from 'three/examples/jsm/lines/Line2.js'; +import { LineGeometry } from 'three/examples/jsm/lines/LineGeometry.js'; +import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial.js'; import Kapsule from 'kapsule'; import accessorFn from 'accessor-fn'; diff --git a/src/layers/points.js b/src/layers/points.js index 5c755ff..512969c 100755 --- a/src/layers/points.js +++ b/src/layers/points.js @@ -22,7 +22,7 @@ const THREE = window.THREE Vector3 }; -import * as _bfg from 'three/addons/utils/BufferGeometryUtils.js'; +import * as _bfg from 'three/examples/jsm/utils/BufferGeometryUtils.js'; const bfg = Object.assign({}, _bfg); const BufferGeometryUtils = bfg.BufferGeometryUtils || bfg;