Skip to content
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
31 changes: 0 additions & 31 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4108,37 +4108,6 @@ index a603710b..74676e45 100644
if (event.isPrimary === false) return;

document.removeEventListener('pointermove', onPointerMove);
diff --git a/examples-testing/examples/webgl_geometry_sdf.ts b/examples-testing/examples/webgl_geometry_sdf.ts
index fa5dba10..9ce7da93 100644
--- a/examples-testing/examples/webgl_geometry_sdf.ts
+++ b/examples-testing/examples/webgl_geometry_sdf.ts
@@ -4,7 +4,16 @@ import { SDFGeometryGenerator } from 'three/addons/geometries/SDFGeometryGenerat
import Stats from 'three/addons/libs/stats.module.js';
import { GUI } from 'three/addons/libs/lil-gui.module.min.js';

-let renderer, stats, meshFromSDF, scene, camera, clock, controls;
+let renderer: THREE.WebGLRenderer,
+ stats: Stats,
+ meshFromSDF: THREE.Mesh<
+ THREE.BufferGeometry,
+ THREE.MeshBasicMaterial | THREE.MeshDepthMaterial | THREE.MeshNormalMaterial
+ >,
+ scene: THREE.Scene,
+ camera: THREE.OrthographicCamera,
+ clock: THREE.Clock,
+ controls: OrbitControls;

const settings = {
res: 4,
@@ -12,7 +21,7 @@ const settings = {
autoRotate: true,
wireframe: true,
material: 'depth',
- vertexCount: '0',
+ vertexCount: 0,
};

// Example SDF from https://www.shadertoy.com/view/MdXSWn -->
diff --git a/examples-testing/examples/webgl_geometry_shapes.ts b/examples-testing/examples/webgl_geometry_shapes.ts
index f1d00f01..2042c353 100644
--- a/examples-testing/examples/webgl_geometry_shapes.ts
Expand Down
16 changes: 0 additions & 16 deletions types/three/examples/jsm/geometries/SDFGeometryGenerator.d.ts

This file was deleted.