Bone.js 381 字节
Newer Older
1 2
/**
 * @author mikael emtinger / http://gomo.se/
A
alteredq 已提交
3
 * @author alteredq / http://alteredqualia.com/
4
 * @author ikerr / http://verold.com
5 6
 */

7
THREE.Bone = function ( belongsToSkin ) {
8

9
	THREE.Object3D.call( this );
10 11

	this.skin = belongsToSkin;
12

M
makc 已提交
13
	this.type = 'Bone';
14 15
};

16
THREE.Bone.prototype = Object.create( THREE.Object3D.prototype );
17
THREE.Bone.prototype.constructor = THREE.Bone;
18