Initialize all members of aiVertexWeight in constructor
parent
82980c8a9c
commit
b0b125dfe6
|
@ -212,7 +212,10 @@ struct aiVertexWeight
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
||||||
//! Default constructor
|
//! Default constructor
|
||||||
aiVertexWeight() { }
|
aiVertexWeight()
|
||||||
|
: mVertexId(0)
|
||||||
|
, mWeight(0.0f)
|
||||||
|
{ }
|
||||||
|
|
||||||
//! Initialisation from a given index and vertex weight factor
|
//! Initialisation from a given index and vertex weight factor
|
||||||
//! \param pID ID
|
//! \param pID ID
|
||||||
|
|
Loading…
Reference in New Issue