Skip to content

Commit

Permalink
Update patch and delete examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Sep 23, 2024
1 parent 923e1ce commit 3921c1b
Show file tree
Hide file tree
Showing 368 changed files with 0 additions and 56,113 deletions.
29 changes: 0 additions & 29 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13653,35 +13653,6 @@ index 66f9ffcb..0bcfb599 100644

// envmap
- const genCubeUrls = function (prefix, postfix) {
+ const genCubeUrls = function (prefix: string, postfix: string) {
return [
prefix + 'px' + postfix,
prefix + 'nx' + postfix,
diff --git a/examples-testing/examples/webgpu_lightprobe_cubecamera.ts b/examples-testing/examples/webgpu_lightprobe_cubecamera.ts
index 612fade7..b7436e09 100644
--- a/examples-testing/examples/webgpu_lightprobe_cubecamera.ts
+++ b/examples-testing/examples/webgpu_lightprobe_cubecamera.ts
@@ -1,12 +1,12 @@
-import * as THREE from 'three';
+import * as THREE from 'three/webgpu';

import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { LightProbeHelper } from 'three/addons/helpers/LightProbeHelperGPU.js';
import { LightProbeGenerator } from 'three/addons/lights/LightProbeGenerator.js';

-let renderer, scene, camera, cubeCamera;
+let renderer: THREE.WebGPURenderer, scene: THREE.Scene, camera: THREE.PerspectiveCamera, cubeCamera: THREE.CubeCamera;

-let lightProbe;
+let lightProbe: THREE.LightProbe;

init();

@@ -40,7 +40,7 @@ function init() {
scene.add(lightProbe);

// envmap
- const genCubeUrls = function (prefix, postfix) {
+ const genCubeUrls = function (prefix: string, postfix: string) {
return [
prefix + 'px' + postfix,
Expand Down
186 changes: 0 additions & 186 deletions examples-testing/examples/css2d_label.ts

This file was deleted.

Loading

0 comments on commit 3921c1b

Please sign in to comment.