Skip to content

Commit 1401e3e

Browse files
authored
Examples: Update versions for external libraries (#33362)
1 parent d8dcddb commit 1401e3e

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

examples/webgl_batch_lod_bvh.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"three": "../build/three.module.js",
2727
"three/addons/": "./jsm/",
2828

29-
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.9.0/build/index.module.js",
29+
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.9.9/build/index.module.js",
3030

3131
"@three.ez/batched-mesh-extensions": "https://cdn.jsdelivr.net/npm/@three.ez/batched-mesh-extensions@0.0.8/build/webgl.js",
3232
"bvh.js": "https://cdn.jsdelivr.net/npm/bvh.js@0.0.13/build/index.js",

examples/webgl_geometry_csg.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"imports": {
3030
"three": "../build/three.module.js",
3131
"three/addons/": "./jsm/",
32-
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.7.3/build/index.module.js",
33-
"three-bvh-csg": "https://cdn.jsdelivr.net/npm/three-bvh-csg@0.0.16/build/index.module.js"
32+
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.9.9/build/index.module.js",
33+
"three-bvh-csg": "https://cdn.jsdelivr.net/npm/three-bvh-csg@0.0.18/build/index.module.js"
3434
}
3535
}
3636
</script>

examples/webgl_loader_3dtiles.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
"three": "../build/three.module.js",
5353
"three/addons/": "./jsm/",
5454
"three/examples/": "./",
55-
"3d-tiles-renderer": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.23/build/index.js",
56-
"3d-tiles-renderer/core/plugins": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.23/build/index.core-plugins.js",
57-
"3d-tiles-renderer/three/plugins": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.23/build/index.three-plugins.js",
55+
"3d-tiles-renderer": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.24/build/index.js",
56+
"3d-tiles-renderer/core/plugins": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.24/build/index.core-plugins.js",
57+
"3d-tiles-renderer/three/plugins": "https://cdn.jsdelivr.net/npm/3d-tiles-renderer@0.4.24/build/index.three-plugins.js",
5858
"postprocessing": "https://cdn.jsdelivr.net/npm/postprocessing@6.39.0/build/index.js",
5959
"@takram/three-clouds": "https://cdn.jsdelivr.net/npm/@takram/three-clouds@0.7.3/build/index.js",
6060
"@takram/three-atmosphere": "https://cdn.jsdelivr.net/npm/@takram/three-atmosphere@0.17.1/build/index.js",

examples/webgl_raycaster_bvh.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"imports": {
3030
"three": "../build/three.module.js",
3131
"three/addons/": "./jsm/",
32-
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.7.3/build/index.module.js"
32+
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.9.9/build/index.module.js"
3333
}
3434
}
3535
</script>
3636

3737
<script type="module">
3838

3939
import * as THREE from 'three';
40-
import { computeBoundsTree, disposeBoundsTree, acceleratedRaycast, MeshBVHHelper } from 'three-mesh-bvh';
40+
import { computeBoundsTree, disposeBoundsTree, acceleratedRaycast, BVHHelper } from 'three-mesh-bvh';
4141
import Stats from 'three/addons/libs/stats.module.js';
4242
import { FBXLoader } from 'three/addons/loaders/FBXLoader.js';
4343
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
@@ -138,7 +138,7 @@
138138
scene.add( mesh );
139139
mesh.scale.setScalar( 0.0075 );
140140

141-
helper = new MeshBVHHelper( mesh );
141+
helper = new BVHHelper( mesh );
142142
helper.color.set( 0xE91E63 );
143143
scene.add( helper );
144144

examples/webgl_renderer_pathtracer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"three": "../build/three.module.js",
4545
"three/addons/": "./jsm/",
4646
"three/examples/": "./",
47-
"three-gpu-pathtracer": "https://cdn.jsdelivr.net/npm/three-gpu-pathtracer@0.0.22/build/index.module.js",
48-
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.7.4/build/index.module.js"
47+
"three-gpu-pathtracer": "https://cdn.jsdelivr.net/npm/three-gpu-pathtracer@0.0.24/build/index.module.js",
48+
"three-mesh-bvh": "https://cdn.jsdelivr.net/npm/three-mesh-bvh@0.9.9/build/index.module.js"
4949
}
5050
}
5151
</script>

0 commit comments

Comments
 (0)