Bone.js 389 B

1234567891011121314151617181920212223242526
  1. import { Object3D } from '../core/Object3D.js';
  2. /**
  3. * @author mikael emtinger / http://gomo.se/
  4. * @author alteredq / http://alteredqualia.com/
  5. * @author ikerr / http://verold.com
  6. */
  7. function Bone() {
  8. Object3D.call( this );
  9. this.type = 'Bone';
  10. }
  11. Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
  12. constructor: Bone,
  13. isBone: true
  14. } );
  15. export { Bone };