13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
|
/**
|
||
|
* BoneWeight object - associates a vertex to a bone with some weight
|
||
|
* @param boneIndex int
|
||
|
* @param weight float
|
||
|
* @constructor
|
||
|
*/
|
||
|
GameLib.D3.API.BoneWeight = function BoneWeight(
|
||
|
boneIndex,
|
||
|
weight
|
||
|
) {
|
||
|
this.boneIndex = boneIndex;
|
||
|
this.weight = weight;
|
||
|
};
|