27 lines
389 B
JavaScript
27 lines
389 B
JavaScript
|
import { Object3D } from '../core/Object3D.js';
|
||
|
|
||
|
/**
|
||
|
* @author mikael emtinger / http://gomo.se/
|
||
|
* @author alteredq / http://alteredqualia.com/
|
||
|
* @author ikerr / http://verold.com
|
||
|
*/
|
||
|
|
||
|
function Bone() {
|
||
|
|
||
|
Object3D.call( this );
|
||
|
|
||
|
this.type = 'Bone';
|
||
|
|
||
|
}
|
||
|
|
||
|
Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
||
|
|
||
|
constructor: Bone,
|
||
|
|
||
|
isBone: true
|
||
|
|
||
|
} );
|
||
|
|
||
|
|
||
|
export { Bone };
|