BUGFIX: Fix compiler warning: wrong order in initlist

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@521 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-12-24 11:47:31 +00:00
parent 497b387d45
commit 408b6b2d74
1 changed files with 16 additions and 8 deletions

View File

@ -115,6 +115,22 @@ protected:
// Represents an AC3D 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
{
World = 0x0,
@ -123,14 +139,6 @@ protected:
Light = 0x4
} type;
Object()
: texRepeat(1.f,1.f)
, numRefs (0)
, type (World)
, subDiv (0)
{}
// name of the object
std::string name;