Doodle3D-Slicer/three.js-master/editor/js/Sidebar.js

21 lines
519 B
JavaScript
Raw Normal View History

2015-06-12 15:58:26 +02:00
/**
* @author mrdoob / http://mrdoob.com/
*/
var Sidebar = function ( editor ) {
var container = new UI.Panel();
container.setId( 'sidebar' );
container.add( new Sidebar.Project( editor ) );
container.add( new Sidebar.Scene( editor ) );
container.add( new Sidebar.Object3D( editor ) );
container.add( new Sidebar.Geometry( editor ) );
container.add( new Sidebar.Material( editor ) );
container.add( new Sidebar.Animation( editor ) );
container.add( new Sidebar.Script( editor ) );
return container;
};