Show
Ignore:
Timestamp:
01/06/10 11:41:14 (4 years ago)
Author:
robert
Message:

Fixed type of index to int.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgAnimation/RigTransformHardware

    r10693 r10918  
    4343            float _boneWeight; 
    4444            IndexWeightEntry() { _boneIndex = 0; _boneWeight = 0;} 
    45             IndexWeightEntry(float index, float weight) { _boneIndex = index; _boneWeight = weight;} 
     45            IndexWeightEntry(int index, float weight) { _boneIndex = index; _boneWeight = weight;} 
    4646            int getIndex() const { return _boneIndex; } 
    4747            float getWeight() const { return _boneWeight; }