Skip to content

Commit

Permalink
Update examples (#922)
Browse files Browse the repository at this point in the history
* Update three.js

* Add examples

* Update patch

* Delete examples
  • Loading branch information
Methuselah96 authored Apr 25, 2024
1 parent 7d90237 commit 64bf9aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ index 88d0541a..fdd703f2 100644

controls.rotateSpeed = 1.0;
diff --git a/examples-testing/examples/misc_controls_transform.ts b/examples-testing/examples/misc_controls_transform.ts
index b1becec5..a5ae46c4 100644
index 9d14bf7e..11cc8b14 100644
--- a/examples-testing/examples/misc_controls_transform.ts
+++ b/examples-testing/examples/misc_controls_transform.ts
@@ -3,8 +3,8 @@ import * as THREE from 'three';
Expand All @@ -1070,7 +1070,7 @@ index b1becec5..a5ae46c4 100644
init();
render();
@@ -95,7 +95,9 @@ function init() {
case 67: // C
case 'c':
const position = currentCamera.position.clone();

- currentCamera = currentCamera.isPerspectiveCamera ? cameraOrtho : cameraPersp;
Expand Down

0 comments on commit 64bf9aa

Please sign in to comment.