Fixed type of index to int.

This commit is contained in:
Robert Osfield
2010-01-06 10:41:14 +00:00
parent 856c7acee5
commit d8cc1648ca

View File

@@ -42,7 +42,7 @@ namespace osgAnimation
int _boneIndex;
float _boneWeight;
IndexWeightEntry() { _boneIndex = 0; _boneWeight = 0;}
IndexWeightEntry(float index, float weight) { _boneIndex = index; _boneWeight = weight;}
IndexWeightEntry(int index, float weight) { _boneIndex = index; _boneWeight = weight;}
int getIndex() const { return _boneIndex; }
float getWeight() const { return _boneWeight; }
};