|
@@ -101,7 +101,7 @@ function Object3D() {
|
|
|
Object3D.DefaultUp = new Vector3( 0, 1, 0 );
|
|
|
Object3D.DefaultMatrixAutoUpdate = true;
|
|
|
|
|
|
-Object3D.prototype = {
|
|
|
+Object.assign( Object3D.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
constructor: Object3D,
|
|
|
|
|
@@ -730,8 +730,7 @@ Object3D.prototype = {
|
|
|
|
|
|
}
|
|
|
|
|
|
-};
|
|
|
+} );
|
|
|
|
|
|
-Object.assign( Object3D.prototype, EventDispatcher.prototype );
|
|
|
|
|
|
export { Object3D };
|