Skip to content

Commit dd27aad

Browse files
committed
three/examples/jsm -> three/addons
1 parent 68cdd0d commit dd27aad

12 files changed

Lines changed: 15 additions & 15 deletions

src/three/plugins/GLTFExtensionsPlugin.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
2-
import { KTX2Loader } from 'three/examples/jsm/loaders/KTX2Loader.js';
3-
import { MeshoptDecoder } from 'three/examples/jsm/libs/meshopt_decoder.module.js';
4-
import { GLTFLoaderPlugin, GLTFParser } from 'three/examples/jsm/loaders/GLTFLoader.js';
1+
import { DRACOLoader } from 'three/addons/loaders/DRACOLoader.js';
2+
import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js';
3+
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';
4+
import { GLTFLoaderPlugin, GLTFParser } from 'three/addons/loaders/GLTFLoader.js';
55

66
export class GLTFExtensionsPlugin {
77

src/three/plugins/GLTFExtensionsPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
1+
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
22
import { GLTFStructuralMetadataExtension } from './gltf/GLTFStructuralMetadataExtension.js';
33
import { GLTFMeshFeaturesExtension } from './gltf/GLTFMeshFeaturesExtension.js';
44
import { GLTFCesiumRTCExtension } from './gltf/GLTFCesiumRTCExtension.js';

src/three/plugins/batched/BatchedTilesPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @import { WebGLRenderer, Material } from 'three' */
22
import { WebGLArrayRenderTarget, MeshBasicMaterial, DataTexture, REVISION } from 'three';
3-
import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js';
3+
import { FullScreenQuad } from 'three/addons/postprocessing/Pass.js';
44
import { ExpandingBatchedMesh } from './ExpandingBatchedMesh.js';
55
import { convertMapToArrayTexture, isColorWhite } from './utilities.js';
66

src/three/plugins/gltf/GLTFCesiumRTCExtension.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GLTFLoaderPlugin } from 'three/examples/jsm/loaders/GLTFLoader.js';
1+
import { GLTFLoaderPlugin } from 'three/addons/loaders/GLTFLoader.js';
22

33
export class GLTFCesiumRTCExtension implements GLTFLoaderPlugin {
44

src/three/plugins/gltf/GLTFMeshFeaturesExtension.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Vector3, BufferGeometry, Texture } from 'three';
2-
import { GLTFLoaderPlugin } from 'three/examples/jsm/loaders/GLTFLoader.js';
2+
import { GLTFLoaderPlugin } from 'three/addons/loaders/GLTFLoader.js';
33

44
export class GLTFMeshFeaturesExtension implements GLTFLoaderPlugin {
55

src/three/plugins/gltf/GLTFStructuralMetadataExtension.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Vector3, Texture, Object3D } from 'three';
2-
import { GLTFLoaderPlugin } from 'three/examples/jsm/loaders/GLTFLoader.js';
2+
import { GLTFLoaderPlugin } from 'three/addons/loaders/GLTFLoader.js';
33

44
export class GLTFStructuralMetadataExtension implements GLTFLoaderPlugin {
55

src/three/plugins/gltf/metadata/utilities/TextureReadUtility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { WebGLRenderTarget, WebGLRenderer, Box2, Vector2, ShaderMaterial, CustomBlending, ZeroFactor, OneFactor } from 'three';
2-
import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js';
2+
import { FullScreenQuad } from 'three/addons/postprocessing/Pass.js';
33

44
const _box = /* @__PURE__ */ new Box2();
55

src/three/renderer/loaders/B3DMLoader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { B3DMBaseResult, B3DMLoaderBase, BatchTable, FeatureTable } from '3d-tiles-renderer/core';
22
import { LoadingManager, Group } from 'three';
3-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
3+
import { GLTF } from 'three/addons/loaders/GLTFLoader.js';
44

55
interface B3DMScene extends Group {
66

src/three/renderer/loaders/B3DMLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/** @import { BatchTable, FeatureTable } from '3d-tiles-renderer/core' */
33
import { B3DMLoaderBase } from '3d-tiles-renderer/core';
44
import { DefaultLoadingManager, Matrix4 } from 'three';
5-
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
5+
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
66

77
/**
88
* Loader for the legacy 3D Tiles Batched 3D Model (b3dm) format. Parses the b3dm

src/three/renderer/loaders/I3DMLoader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { I3DMBaseResult, I3DMLoaderBase, BatchTable, FeatureTable } from '3d-tiles-renderer/core';
2-
import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
2+
import { GLTF } from 'three/addons/loaders/GLTFLoader.js';
33
import { Group, LoadingManager } from 'three';
44

55
interface I3DMScene extends Group {

0 commit comments

Comments
 (0)