-
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
2,169 additions
and
3,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.14.0 | ||
18.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ | |
<p>Transition promises will resolve when the camera slows to less than <code>controls.restThreshold</code> units in a single frame. You can set this value here</p> <label><input oninput="cameraControls.restThreshold = this.value" value="0.01" type="number" min="0.001" max="1" step="0.001"> Rest Threshold</label> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,12 +47,12 @@ | |
<button onclick="cameraControls.enabled = true;">enable mouse/touch controls</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,12 +30,12 @@ | |
<button type="button" onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,12 @@ | |
<button onclick="cameraControls.applyCameraUp()">applyCameraUp</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ | |
</ul> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,12 +96,12 @@ | |
</select> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,12 @@ | |
<label><input type="checkbox" onchange="cameraControls.dollyToCursor = this.checked">dolly to cursor</label> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,18 +14,18 @@ | |
<button onclick="rotate0To120()">rotate 0 to 120 deg with easing in 3 sec</button><br> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
<script type="module"> | ||
import * as THREE from 'three'; | ||
import gsap from "https://unpkg.com/[email protected].2/index.js"; | ||
import gsap from "https://unpkg.com/[email protected].5/index.js"; | ||
import CameraControls from './dist/camera-controls.module.js'; | ||
CameraControls.install( { THREE: THREE } ); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ | |
<button type="button" onclick="cameraShale2.shake()">shake 3</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ | |
<button onclick="cameraControls.rotate( 45 * THREE.MathUtils.DEG2RAD, 0, true )">rotate theta 45deg</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,12 +38,12 @@ | |
</select> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,18 +21,18 @@ | |
<button onclick="rotateTo( 'left' ), paddingInCssPixel( 100, 100, 200, 100 )">fit left side with padding in pixel( top: 100<b>px</b>, right: 100<b>px</b>, bottom: 200<b>px</b>, right: 100<b>px</b> )</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
<script type="module"> | ||
import * as THREE from 'three'; | ||
import gsap from "https://unpkg.com/[email protected].2/index.js"; | ||
import gsap from "https://unpkg.com/[email protected].5/index.js"; | ||
import CameraControls from './dist/camera-controls.module.js'; | ||
CameraControls.install( { THREE: THREE } ); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button><br> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button><br> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,12 @@ | |
<button onclick="cameraControls.saveState()">saveState</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ | |
</head> | ||
<body> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,12 +24,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ | |
<button onclick="cameraControls.reset( true )">reset</button> | ||
</div> | ||
|
||
<script async src="https://unpkg.com/[email protected].0/dist/es-module-shims.js"></script> | ||
<script async src="https://unpkg.com/[email protected].2/dist/es-module-shims.js"></script> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"three": "https://unpkg.com/three@0.155.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.155.0/examples/jsm/" | ||
"three": "https://unpkg.com/three@0.161.0/build/three.module.js", | ||
"three/addons/": "https://unpkg.com/three@0.161.0/examples/jsm/" | ||
} | ||
} | ||
</script> | ||
|
Oops, something went wrong.