2016-10-14 12:32:53 +02:00
|
|
|
/**
|
|
|
|
* BoneWeight object - associates a vertex to a bone with some weight
|
|
|
|
* @param boneIndex int
|
|
|
|
* @param weight float
|
|
|
|
* @constructor
|
|
|
|
*/
|
2016-12-23 16:07:10 +01:00
|
|
|
GameLib.D3.API.BoneWeight = function (
|
2016-10-14 12:32:53 +02:00
|
|
|
boneIndex,
|
|
|
|
weight
|
|
|
|
) {
|
|
|
|
this.boneIndex = boneIndex;
|
|
|
|
this.weight = weight;
|
|
|
|
};
|