fireball/lib/objects/Group.js

25 lines
304 B
JavaScript
Raw Normal View History

2018-12-25 13:59:22 +00:00
import { Object3D } from '../core/Object3D.js';
/**
* @author mrdoob / http://mrdoob.com/
*/
function Group() {
Object3D.call( this );
this.type = 'Group';
}
Group.prototype = Object.assign( Object.create( Object3D.prototype ), {
constructor: Group,
isGroup: true
} );
export { Group };