docs: function GLTFRegistry() {
  
  		var objects = {};
  
  		return	{
  
  			get: function ( key ) {
  
  				return objects[ key ];
  
  			},
  
  			add: function ( key, object ) {
  
  				objects[ key ] = object;
  
  			},
  
  			remove: function ( key ) {
  
  				delete objects[ key ];
  
  			},
  
  			removeAll: function () {
  
  				objects = {};
  
  			},
  
  			update: function ( scene, camera ) {
  
  				// update scene graph
  
  				scene.updateMatrixWorld();
  
  				// update camera matrices and frustum
  
  				camera.updateMatrixWorld();
  				camera.matrixWorldInverse.getInverse( camera.matrixWorld );
  
  				for ( var name in objects ) {
  
  					var object = objects[ name ];
  
  					if ( object.update ) {
  
  						object.update( scene, camera );
  
  					}
  
  				}
  
  			}
  
  		};
  
  	}