Update MDLFileData.h

Remove not supported array initialization.
pull/2151/head
Kim Kulling 2018-09-21 19:43:19 +02:00 committed by GitHub
parent e129d88825
commit 3a38c2c067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -717,10 +717,9 @@ struct GroupFrame
*/ */
struct IntFace_MDL7 { struct IntFace_MDL7 {
// provide a constructor for our own convenience // provide a constructor for our own convenience
IntFace_MDL7() AI_NO_EXCEPT IntFace_MDL7() AI_NO_EXCEPT {
: mIndices { 0 } ::memset( mIndices, 0, sizeof(uint32_t) *3);
, iMatIndex{ 0 } { ::memset( iMatIndex, 0, sizeof( unsigned int) *2);
// empty
} }
//! Vertex indices //! Vertex indices
@ -739,9 +738,8 @@ struct IntFace_MDL7 {
struct IntMaterial_MDL7 { struct IntMaterial_MDL7 {
// provide a constructor for our own convenience // provide a constructor for our own convenience
IntMaterial_MDL7() AI_NO_EXCEPT IntMaterial_MDL7() AI_NO_EXCEPT
: pcMat( nullptr ) : pcMat( nullptr ) {
, iOldMatIndices{ 0 } { ::memset( iOldMatIndices, 0, sizeof(unsigned int) *2);
// empty
} }
//! Material instance //! Material instance