BUGFIX: Fix compiler warning: wrong order in initlist
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@521 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
497b387d45
commit
408b6b2d74
|
@ -115,6 +115,22 @@ protected:
|
||||||
// Represents an AC3D object
|
// Represents an AC3D object
|
||||||
struct Object
|
struct Object
|
||||||
{
|
{
|
||||||
|
Object()
|
||||||
|
: type (World)
|
||||||
|
, name( "" )
|
||||||
|
, children()
|
||||||
|
, texture( "" )
|
||||||
|
, texRepeat( 1.f, 1.f )
|
||||||
|
, texOffset( 0.0f, 0.0f )
|
||||||
|
, rotation()
|
||||||
|
, translation()
|
||||||
|
, vertices()
|
||||||
|
, surfaces()
|
||||||
|
, numRefs (0)
|
||||||
|
, subDiv (0)
|
||||||
|
{}
|
||||||
|
|
||||||
|
// Type description
|
||||||
enum Type
|
enum Type
|
||||||
{
|
{
|
||||||
World = 0x0,
|
World = 0x0,
|
||||||
|
@ -123,14 +139,6 @@ protected:
|
||||||
Light = 0x4
|
Light = 0x4
|
||||||
} type;
|
} type;
|
||||||
|
|
||||||
|
|
||||||
Object()
|
|
||||||
: texRepeat(1.f,1.f)
|
|
||||||
, numRefs (0)
|
|
||||||
, type (World)
|
|
||||||
, subDiv (0)
|
|
||||||
{}
|
|
||||||
|
|
||||||
// name of the object
|
// name of the object
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue