Skip to content

Commit 20410e2

Browse files
committed
bump to r115
1 parent c17fcfa commit 20410e2

File tree

1,071 files changed

+339591
-456
lines changed

Some content is hidden

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

1,071 files changed

+339591
-456
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
out
55
extra
66
package-lock.json
7+
threejsfundamentals.check.json
78

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Some Three.js Tutorials",
55
"main": "index.js",
66
"threejsfundamentals": {
7-
"threeVersion": 114
7+
"threeVersion": 115
88
},
99
"dependencies": {},
1010
"devDependencies": {
@@ -26,7 +26,7 @@
2626
"minami": "^1.2.3",
2727
"semver": "^6.3.0",
2828
"servez": "^1.5.0",
29-
"three": "^0.114.0"
29+
"three": "^0.115.0"
3030
},
3131
"scripts": {
3232
"build": "grunt",
@@ -35,7 +35,7 @@
3535
"eslint": "grunt eslint",
3636
"pre-push": "grunt eslint",
3737
"bumpthree": "grunt bumpthree",
38-
"test": "echo \"Error: no test specified\" && exit 1"
38+
"test": "check-all-the-errors --follow-links=both --output=threejsfundamentals.check.json out \"*.html\""
3939
},
4040
"repository": {
4141
"type": "git",

threejs/background-v01.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<canvas id="c"></canvas>
2323
</body>
2424
<script type="module">
25-
import * as THREE from './resources/threejs/r114/build/three.module.js';
26-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
27-
import {GLTFLoader} from './resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
25+
import * as THREE from './resources/threejs/r115/build/three.module.js';
26+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
27+
import {GLTFLoader} from './resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
2828

2929
function main() {
3030
const canvas = document.querySelector('#c');

threejs/background.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<canvas id="c"></canvas>
2323
</body>
2424
<script type="module">
25-
import * as THREE from './resources/threejs/r114/build/three.module.js';
26-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
27-
import {GLTFLoader} from './resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
25+
import * as THREE from './resources/threejs/r115/build/three.module.js';
26+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
27+
import {GLTFLoader} from './resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
2828

2929
function main() {
3030
const canvas = document.querySelector('#c');

threejs/lessons/resources/threejs-cameras.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33

44
{

threejs/lessons/resources/threejs-custom-buffergeometry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33

44
{

threejs/lessons/resources/threejs-fog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
2-
import {GLTFLoader} from '../../resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
2+
import {GLTFLoader} from '../../resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
33
import {threejsLessonUtils} from './threejs-lesson-utils.js';
44

55
{

threejs/lessons/resources/threejs-lesson-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
2-
import {TrackballControls} from '../../resources/threejs/r114/examples/jsm/controls/TrackballControls.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
2+
import {TrackballControls} from '../../resources/threejs/r115/examples/jsm/controls/TrackballControls.js';
33

44
export const threejsLessonUtils = {
55
_afterPrettifyFuncs: [],

threejs/lessons/resources/threejs-lights.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
2-
import {OrbitControls} from '../../resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
2+
import {OrbitControls} from '../../resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
33
import {threejsLessonUtils} from './threejs-lesson-utils.js';
44

55
{

threejs/lessons/resources/threejs-lots-of-objects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33
import {GUI} from '../../../3rdparty/dat.gui.module.js';
44

threejs/lessons/resources/threejs-materials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33

44
{

threejs/lessons/resources/threejs-primitives.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33

44
{
@@ -15,7 +15,7 @@ import {threejsLessonUtils} from './threejs-lesson-utils.js';
1515

1616
const fontLoader = new THREE.FontLoader();
1717
const fontPromise = new Promise((resolve) => {
18-
fontLoader.load('../resources/threejs/fonts/helvetiker_regular.typeface.json', resolve);
18+
fontLoader.load('/threejs/resources/threejs/fonts/helvetiker_regular.typeface.json', resolve);
1919
});
2020

2121
const diagrams = {

threejs/lessons/resources/threejs-textures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
22
import {threejsLessonUtils} from './threejs-lesson-utils.js';
33

44
{

threejs/lessons/resources/threejs-voxel-geometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as THREE from '../../resources/threejs/r114/build/three.module.js';
2-
import {BufferGeometryUtils} from '../../resources/threejs/r114/examples/jsm/utils/BufferGeometryUtils.js';
1+
import * as THREE from '../../resources/threejs/r115/build/three.module.js';
2+
import {BufferGeometryUtils} from '../../resources/threejs/r115/examples/jsm/utils/BufferGeometryUtils.js';
33
import {threejsLessonUtils} from './threejs-lesson-utils.js';
44

55
{

threejs/lessons/ru/threejs-fundamentals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Three.js часто путают с WebGL, поскольку чаще всег
2121
обновляются автоматически, поэтому большинство пользователей
2222
должны иметь возможность запускать этот код. Если вы хотите,
2323
чтобы этот код запускался в действительно старых браузерах,
24-
посмотрите на транспайлер, такой как [Babel](http://babel.io).
24+
посмотрите на транспайлер, такой как [Babel](http://babeljs.io).
2525
Конечно, пользователи, использующие действительно старые браузеры,
2626
вероятно, имеют машины, которые не могут запускать three.js.
2727

@@ -42,7 +42,7 @@ Three.js будет рисовать на этом холсте, так что
4242

4343
```
4444
<script type="module">
45-
import * as THREE from './resources/threejs/r114/build/three.module.js';
45+
import * as THREE from './resources/threejs/r115/build/three.module.js';
4646
4747
function main() {
4848
const canvas = document.querySelector('#c');

threejs/lessons/ru/threejs-lights.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const camera = new THREE.PerspectiveCamera(fov, aspect, near, far);
2929
включить их в нашу страницу.
3030

3131
```js
32-
import * as THREE from './resources/three/r114/build/three.module.js';
33-
+import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
32+
import * as THREE from './resources/three/r115/build/three.module.js';
33+
+import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
3434
```
3535

3636
Теперь мы можем использовать их. Мы передаем в `OrbitControls` камеру для
@@ -469,9 +469,9 @@ gui.add(light, 'penumbra', 0, 1, 0.01);
469469
Для использования `RectAreaLight` нам нужно включить некоторые дополнительные возможности three.js
470470
471471
```js
472-
import * as THREE from './resources/three/r114/build/three.module.js';
473-
+import {RectAreaLightUniformsLib} from './resources/threejs/r114/examples/jsm/lights/RectAreaLightUniformsLib.js';
474-
+import {RectAreaLightHelper} from './resources/threejs/r114/examples/jsm/helpers/RectAreaLightHelper.js';
472+
import * as THREE from './resources/three/r115/build/three.module.js';
473+
+import {RectAreaLightUniformsLib} from './resources/threejs/r115/examples/jsm/lights/RectAreaLightUniformsLib.js';
474+
+import {RectAreaLightHelper} from './resources/threejs/r115/examples/jsm/helpers/RectAreaLightHelper.js';
475475
```
476476
477477
```js

threejs/lessons/ru/threejs-multiple-scenes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ document.querySelectorAll('[data-diagram]').forEach((elem) => {
472472
Сначала мы добавляем скрипт для контролов.
473473

474474
```js
475-
import {TrackballControls} from './resources/threejs/r114/examples/jsm/controls/TrackballControls.js';
475+
import {TrackballControls} from './resources/threejs/r115/examples/jsm/controls/TrackballControls.js';
476476
```
477477

478478
И затем мы можем добавить `TrackballControls` к каждой сцене, передавая элемент, связанный с этой сценой.

threejs/lessons/threejs-align-html-elements-to-3d.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ with an example from [the article on responsive pages](threejs-responsive.html)
3535
We'll add some `OrbitControls` like we did in [the article on lighting](threejs-lights.html).
3636

3737
```js
38-
import * as THREE from './resources/three/r114/build/three.module.js';
39-
+import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
38+
import * as THREE from './resources/three/r115/build/three.module.js';
39+
+import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
4040
```
4141

4242
```js
@@ -724,8 +724,8 @@ Finally, since I'm not sure what good values are for these settings lets
724724
add a GUI so we can play with them
725725
726726
```js
727-
import * as THREE from './resources/three/r114/build/three.module.js';
728-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
727+
import * as THREE from './resources/three/r115/build/three.module.js';
728+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
729729
+import {GUI} from '../3rdparty/dat.gui.module.js';
730730
```
731731

threejs/lessons/threejs-backgrounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function render(time) {
180180
Let's add some controls in so we can rotate the camera.
181181
182182
```js
183-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
183+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
184184
```
185185
186186
```js

threejs/lessons/threejs-canvas-textures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ What's left is to add some `OrbitControls` so we can move
261261
the camera.
262262

263263
```js
264-
import * as THREE from './resources/three/r114/build/three.module.js';
265-
+import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
264+
import * as THREE from './resources/three/r115/build/three.module.js';
265+
+import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
266266
```
267267

268268
```js

threejs/lessons/threejs-custom-geometry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ A few minor changes to make it easier to view.
448448
* include the `OrbitControls`
449449
450450
```js
451-
import * as THREE from './resources/three/r114/build/three.module.js';
452-
+import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
451+
import * as THREE from './resources/three/r115/build/three.module.js';
452+
+import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
453453
```
454454
455455
```js

threejs/lessons/threejs-fundamentals.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ most part they will use ES6 style. [See here for a
1919
terse list of things you're expected to already know](threejs-prerequisites.html).
2020
Most browsers that support three.js are auto-updated so most users should
2121
be able to run this code. If you'd like to make this code run
22-
on really old browsers look into a transpiler like [Babel](https://babel.io).
22+
on really old browsers look into a transpiler like [Babel](https://babeljs.io).
2323
Of course users running really old browsers probably have machines
2424
that can't run three.js.
2525

@@ -96,7 +96,7 @@ First let's load three.js
9696

9797
```html
9898
<script type="module">
99-
import * as THREE from './resources/threejs/r114/build/three.module.js';
99+
import * as THREE from './resources/threejs/r115/build/three.module.js';
100100
</script>
101101
```
102102

@@ -119,7 +119,7 @@ We will ask three.js to draw into that canvas so we need to look it up.
119119

120120
```html
121121
<script type="module">
122-
import * as THREE from './resources/threejs/r114/build/three.module.js';
122+
import * as THREE from './resources/threejs/r115/build/three.module.js';
123123
124124
+function main() {
125125
+ const canvas = document.querySelector('#c');
@@ -416,7 +416,7 @@ both
416416
</p>
417417
<pre class=prettyprint>
418418
&lt;script type="module"&gt;
419-
import * as THREE from './resources/threejs/r114/build/three.module.js';
419+
import * as THREE from './resources/threejs/r115/build/three.module.js';
420420
421421
...
422422

threejs/lessons/threejs-game.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ it for skinned animated characters. Fortunately there's a utility function,
243243
the utils.
244244

245245
```js
246-
import * as THREE from './resources/three/r114/build/three.module.js';
247-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
248-
import {GLTFLoader} from './resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
249-
+import {SkeletonUtils} from './resources/threejs/r114/examples/jsm/utils/SkeletonUtils.js';
246+
import * as THREE from './resources/three/r115/build/three.module.js';
247+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
248+
import {GLTFLoader} from './resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
249+
+import {SkeletonUtils} from './resources/threejs/r115/examples/jsm/utils/SkeletonUtils.js';
250250
```
251251

252252
Then we can clone the models we just loaded
@@ -1690,10 +1690,10 @@ While we're at it lets make it so we can turn them on/off using dat.GUI like
16901690
we've used else where
16911691
16921692
```js
1693-
import * as THREE from './resources/three/r114/build/three.module.js';
1694-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
1695-
import {GLTFLoader} from './resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
1696-
import {SkeletonUtils} from './resources/threejs/r114/examples/jsm/utils/SkeletonUtils.js';
1693+
import * as THREE from './resources/three/r115/build/three.module.js';
1694+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
1695+
import {GLTFLoader} from './resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
1696+
import {SkeletonUtils} from './resources/threejs/r115/examples/jsm/utils/SkeletonUtils.js';
16971697
+import {GUI} from '../3rdparty/dat.gui.module.js';
16981698
```
16991699

threejs/lessons/threejs-lights.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ an optional feature of three.js so first we need to include them
2929
in our page
3030

3131
```js
32-
import * as THREE from './resources/three/r114/build/three.module.js';
33-
+import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
32+
import * as THREE from './resources/three/r115/build/three.module.js';
33+
+import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
3434
```
3535

3636
Then we can use them. We pass the `OrbitControls` a camera to
@@ -477,9 +477,9 @@ To use the `RectAreaLight` we need to include some extra three.js optional data
477477
include the `RectAreaLightHelper` to help us visualize the light
478478
479479
```js
480-
import * as THREE from './resources/three/r114/build/three.module.js';
481-
+import {RectAreaLightUniformsLib} from './resources/threejs/r114/examples/jsm/lights/RectAreaLightUniformsLib.js';
482-
+import {RectAreaLightHelper} from './resources/threejs/r114/examples/jsm/helpers/RectAreaLightHelper.js';
480+
import * as THREE from './resources/three/r115/build/three.module.js';
481+
+import {RectAreaLightUniformsLib} from './resources/threejs/r115/examples/jsm/lights/RectAreaLightUniformsLib.js';
482+
+import {RectAreaLightHelper} from './resources/threejs/r115/examples/jsm/helpers/RectAreaLightHelper.js';
483483
```
484484
485485
and we need to call `RectAreaLightUniformsLib.init`

threejs/lessons/threejs-load-gltf.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ I kept the auto framing code as before
102102
We also need to include the `GLTFLoader` and we can get rid of the `OBJLoader2`.
103103
104104
```html
105-
-import {LoaderSupport} from './resources/threejs/r114/examples/jsm/loaders/LoaderSupport.js';
106-
-import {OBJLoader2} from './resources/threejs/r114/examples/jsm/loaders/OBJLoader2.js';
107-
-import {MTLLoader} from './resources/threejs/r114/examples/jsm/loaders/MTLLoader.js';
108-
+import {GLTFLoader} from './resources/threejs/r114/examples/jsm/loaders/GLTFLoader.js';
105+
-import {LoaderSupport} from './resources/threejs/r115/examples/jsm/loaders/LoaderSupport.js';
106+
-import {OBJLoader2} from './resources/threejs/r115/examples/jsm/loaders/OBJLoader2.js';
107+
-import {MTLLoader} from './resources/threejs/r115/examples/jsm/loaders/MTLLoader.js';
108+
+import {GLTFLoader} from './resources/threejs/r115/examples/jsm/loaders/GLTFLoader.js';
109109
```
110110
111111
And running that we get

threejs/lessons/threejs-load-obj.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ that were being added to the scene.
4646
From that the first thing we need to do is include the `OBJLoader2` loader in our script.
4747

4848
```js
49-
import {OBJLoader2} from './resources/threejs/r114/examples/jsm/loaders/OBJLoader2.js';
49+
import {OBJLoader2} from './resources/threejs/r115/examples/jsm/loaders/OBJLoader2.js';
5050
```
5151

5252
Then to load the .OBJ file we create an instance of `OBJLoader2`,
@@ -143,11 +143,11 @@ Now that we have the textures available we can load the .MTL file.
143143
First we need to include the `MTLLoader` and the `MtlObjBridge`;
144144

145145
```js
146-
import * as THREE from './resources/three/r114/build/three.module.js';
147-
import {OrbitControls} from './resources/threejs/r114/examples/jsm/controls/OrbitControls.js';
148-
import {OBJLoader2} from './resources/threejs/r114/examples/jsm/loaders/OBJLoader2.js';
149-
+import {MTLLoader} from './resources/threejs/r114/examples/jsm/loaders/MTLLoader.js';
150-
+import {MtlObjBridge} from './resources/threejs/r114/examples/jsm/loaders/obj2/bridge/MtlObjBridge.js';
146+
import * as THREE from './resources/three/r115/build/three.module.js';
147+
import {OrbitControls} from './resources/threejs/r115/examples/jsm/controls/OrbitControls.js';
148+
import {OBJLoader2} from './resources/threejs/r115/examples/jsm/loaders/OBJLoader2.js';
149+
+import {MTLLoader} from './resources/threejs/r115/examples/jsm/loaders/MTLLoader.js';
150+
+import {MtlObjBridge} from './resources/threejs/r115/examples/jsm/loaders/obj2/bridge/MtlObjBridge.js';
151151
```
152152

153153
Then we first load the .MTL file. When it's finished loading we add

threejs/lessons/threejs-multiple-scenes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ No change to the visuals but the code is even more generic.
445445
Adding interactively, for example a `TrackballControls` is just as easy. First we add the script for the control.
446446

447447
```js
448-
import {TrackballControls} from './resources/threejs/r114/examples/jsm/controls/TrackballControls.js';
448+
import {TrackballControls} from './resources/threejs/r115/examples/jsm/controls/TrackballControls.js';
449449
```
450450

451451
And then we can add a `TrackballControls` to each scene passing in the element associated with that scene.

0 commit comments

Comments
 (0)