|
@@ -6,14 +6,12 @@ import { Object3D } from '../core/Object3D';
|
|
* @author ikerr / http://verold.com
|
|
* @author ikerr / http://verold.com
|
|
*/
|
|
*/
|
|
|
|
|
|
-function Bone( skin ) {
|
|
|
|
|
|
+function Bone() {
|
|
|
|
|
|
Object3D.call( this );
|
|
Object3D.call( this );
|
|
|
|
|
|
this.type = 'Bone';
|
|
this.type = 'Bone';
|
|
|
|
|
|
- this.skin = skin;
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
@@ -26,8 +24,6 @@ Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
|
|
|
Object3D.prototype.copy.call( this, source );
|
|
Object3D.prototype.copy.call( this, source );
|
|
|
|
|
|
- this.skin = source.skin;
|
|
|
|
-
|
|
|
|
return this;
|
|
return this;
|
|
|
|
|
|
}
|
|
}
|