r3-legacy/src/game-lib-d3-api-bone-weight.js

13 lines
280 B
JavaScript
Raw Normal View History

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-02 13:00:56 +01:00
GameLib.D3.API.BoneWeight = function BoneWeight(
2016-10-14 12:32:53 +02:00
boneIndex,
weight
) {
this.boneIndex = boneIndex;
this.weight = weight;
};