Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples #922

Merged
merged 4 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading