LimitBoneWeightsProcess: Initialize all members of Weight in constructor
parent
9397932e4f
commit
be865ae613
|
@ -120,7 +120,11 @@ public:
|
||||||
{
|
{
|
||||||
unsigned int mBone; ///< Index of the bone
|
unsigned int mBone; ///< Index of the bone
|
||||||
float mWeight; ///< Weight of that bone on this vertex
|
float mWeight; ///< Weight of that bone on this vertex
|
||||||
Weight() { }
|
Weight()
|
||||||
|
: mBone(0)
|
||||||
|
, mWeight(0.0f)
|
||||||
|
{ }
|
||||||
|
|
||||||
Weight( unsigned int pBone, float pWeight)
|
Weight( unsigned int pBone, float pWeight)
|
||||||
{
|
{
|
||||||
mBone = pBone;
|
mBone = pBone;
|
||||||
|
|
Loading…
Reference in New Issue