Skip to content

Commit

Permalink
Editor: Removed unused TeapotGeometry code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed May 23, 2023
1 parent 973d751 commit d6fe155
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 137 deletions.
29 changes: 0 additions & 29 deletions editor/js/Menubar.Add.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,35 +303,6 @@ function MenubarAdd( editor ) {
} );
options.add( option );

/*
// Teapot
option = new UIRow();
option.setClass( 'option' );
option.setTextContent( 'Teapot' );
option.onClick( function () {
let size = 50;
let segments = 10;
let bottom = true;
let lid = true;
let body = true;
let fitLid = false;
let blinnScale = true;
let material = new THREE.MeshStandardMaterial();
let geometry = new TeapotGeometry( size, segments, bottom, lid, body, fitLid, blinnScale );
let mesh = new THREE.Mesh( geometry, material );
mesh.name = 'Teapot';
editor.addObject( mesh );
editor.select( mesh );
} );
options.add( option );
*/

//

options.add( new UIHorizontalRule() );
Expand Down
105 changes: 0 additions & 105 deletions editor/js/Sidebar.Geometry.TeapotGeometry.js

This file was deleted.

3 changes: 0 additions & 3 deletions editor/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ const assets = [

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

'../examples/jsm/geometries/TeapotGeometry.js',

'../examples/jsm/webxr/VRButton.js',
'../examples/jsm/webxr/XRControllerModelFactory.js',

Expand Down Expand Up @@ -179,7 +177,6 @@ const assets = [
'./js/Sidebar.Geometry.TorusGeometry.js',
'./js/Sidebar.Geometry.TorusKnotGeometry.js',
'./js/Sidebar.Geometry.TubeGeometry.js',
'./js/Sidebar.Geometry.TeapotGeometry.js',
'./js/Sidebar.Material.js',
'./js/Sidebar.Material.BooleanProperty.js',
'./js/Sidebar.Material.ColorProperty.js',
Expand Down

0 comments on commit d6fe155

Please sign in to comment.