Skip to content

Commit 4e9f05e

Browse files
authored
Merge pull request #859 from cx20/update_threejs_to_latest
Update three.js r176 to r177
2 parents 330a355 + d6093a0 commit 4e9f05e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+172337
-7
lines changed

examples/threejs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<script type="importmap">
2020
{
2121
"imports": {
22-
"three": "../../libs/three.js/r176/build/three.module.js",
23-
"three/addons/": "../../libs/three.js/r176/examples/jsm/"
22+
"three": "../../libs/three.js/r177/build/three.module.js",
23+
"three/addons/": "../../libs/three.js/r177/examples/jsm/"
2424
}
2525
}
2626
</script>

examples/threejs/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ function init() {
129129
const loader = new GLTFLoader(manager);
130130
loader.setCrossOrigin( 'anonymous' );
131131

132-
const dracoLoader = new DRACOLoader().setDecoderPath( '../../libs/three.js/r176/examples/jsm/libs/draco/gltf/' );
132+
const dracoLoader = new DRACOLoader().setDecoderPath( '../../libs/three.js/r177/examples/jsm/libs/draco/gltf/' );
133133
loader.setDRACOLoader( dracoLoader );
134134

135-
const ktx2Loader = new KTX2Loader().setTranscoderPath( '../../libs/three.js/r176/examples/jsm/libs/basis/' );
135+
const ktx2Loader = new KTX2Loader().setTranscoderPath( '../../libs/three.js/r177/examples/jsm/libs/basis/' );
136136
ktx2Loader.detectSupport( renderer );
137137
loader.setKTX2Loader( ktx2Loader );
138138
loader.setMeshoptDecoder( MeshoptDecoder );

examples/threejs_webgpu/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<script type="importmap">
2020
{
2121
"imports": {
22-
"three": "../../libs/three.js/r176/build/three.webgpu.js",
23-
"three/tsl": "../../libs/three.js/r176/build/three.tsl.js",
24-
"three/addons/": "../../libs/three.js/r176/examples/jsm/"
22+
"three": "../../libs/three.js/r177/build/three.webgpu.js",
23+
"three/tsl": "../../libs/three.js/r177/build/three.tsl.js",
24+
"three/addons/": "../../libs/three.js/r177/examples/jsm/"
2525
}
2626
}
2727
</script>

0 commit comments

Comments
 (0)