Skip to content

Commit d6fe155

Browse files
committed
Editor: Removed unused TeapotGeometry code.
1 parent 973d751 commit d6fe155

File tree

3 files changed

+0
-137
lines changed

3 files changed

+0
-137
lines changed

editor/js/Menubar.Add.js

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -303,35 +303,6 @@ function MenubarAdd( editor ) {
303303
} );
304304
options.add( option );
305305

306-
/*
307-
// Teapot
308-
309-
option = new UIRow();
310-
option.setClass( 'option' );
311-
option.setTextContent( 'Teapot' );
312-
option.onClick( function () {
313-
314-
let size = 50;
315-
let segments = 10;
316-
let bottom = true;
317-
let lid = true;
318-
let body = true;
319-
let fitLid = false;
320-
let blinnScale = true;
321-
322-
let material = new THREE.MeshStandardMaterial();
323-
324-
let geometry = new TeapotGeometry( size, segments, bottom, lid, body, fitLid, blinnScale );
325-
let mesh = new THREE.Mesh( geometry, material );
326-
mesh.name = 'Teapot';
327-
328-
editor.addObject( mesh );
329-
editor.select( mesh );
330-
331-
} );
332-
options.add( option );
333-
*/
334-
335306
//
336307

337308
options.add( new UIHorizontalRule() );

editor/js/Sidebar.Geometry.TeapotGeometry.js

Lines changed: 0 additions & 105 deletions
This file was deleted.

editor/sw.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ const assets = [
7777

7878
'../examples/jsm/helpers/VertexNormalsHelper.js',
7979

80-
'../examples/jsm/geometries/TeapotGeometry.js',
81-
8280
'../examples/jsm/webxr/VRButton.js',
8381
'../examples/jsm/webxr/XRControllerModelFactory.js',
8482

@@ -179,7 +177,6 @@ const assets = [
179177
'./js/Sidebar.Geometry.TorusGeometry.js',
180178
'./js/Sidebar.Geometry.TorusKnotGeometry.js',
181179
'./js/Sidebar.Geometry.TubeGeometry.js',
182-
'./js/Sidebar.Geometry.TeapotGeometry.js',
183180
'./js/Sidebar.Material.js',
184181
'./js/Sidebar.Material.BooleanProperty.js',
185182
'./js/Sidebar.Material.ColorProperty.js',

0 commit comments

Comments
 (0)