Enum class WRL1NODES
This commit is contained in:
parent
88179ec52d
commit
56c4c845e8
|
@ -40,7 +40,7 @@
|
|||
|
||||
WRL1BASE::WRL1BASE() : WRL1NODE( NULL )
|
||||
{
|
||||
m_Type = WRL1_BASE;
|
||||
m_Type = WRL1NODES::WRL1_BASE;
|
||||
m_dictionary = new NAMEREGISTER;
|
||||
return;
|
||||
}
|
||||
|
@ -411,66 +411,66 @@ bool WRL1BASE::ReadNode( WRLPROC& proc, WRL1NODE* aParent, WRL1NODE** aNode )
|
|||
|
||||
switch( ntype )
|
||||
{
|
||||
case WRL1_GROUP:
|
||||
case WRL1NODES::WRL1_GROUP:
|
||||
|
||||
if( !readGroup( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_SEPARATOR:
|
||||
case WRL1NODES::WRL1_SEPARATOR:
|
||||
|
||||
if( !readSeparator( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_SWITCH:
|
||||
case WRL1NODES::WRL1_SWITCH:
|
||||
|
||||
if( !readSwitch( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_MATERIAL:
|
||||
case WRL1NODES::WRL1_MATERIAL:
|
||||
|
||||
if( !readMaterial( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_MATERIALBINDING:
|
||||
case WRL1NODES::WRL1_MATERIALBINDING:
|
||||
|
||||
if( !readMatBinding( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_COORDINATE3:
|
||||
case WRL1NODES::WRL1_COORDINATE3:
|
||||
|
||||
if( !readCoords( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_INDEXEDFACESET:
|
||||
case WRL1NODES::WRL1_INDEXEDFACESET:
|
||||
|
||||
if( !readFaceSet( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_TRANSFORM:
|
||||
case WRL1_TRANSLATION:
|
||||
case WRL1_ROTATION:
|
||||
case WRL1_SCALE:
|
||||
case WRL1NODES::WRL1_TRANSFORM:
|
||||
case WRL1NODES::WRL1_TRANSLATION:
|
||||
case WRL1NODES::WRL1_ROTATION:
|
||||
case WRL1NODES::WRL1_SCALE:
|
||||
|
||||
if( !readTransform( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
||||
case WRL1_SHAPEHINTS:
|
||||
case WRL1NODES::WRL1_SHAPEHINTS:
|
||||
|
||||
if( !readShapeHints( proc, aParent, aNode ) )
|
||||
return false;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
WRL1COORDS::WRL1COORDS( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_COORDINATE3;
|
||||
m_Type = WRL1NODES::WRL1_COORDINATE3;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ WRL1COORDS::WRL1COORDS( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
|||
WRL1COORDS::WRL1COORDS( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_COORDINATE3;
|
||||
m_Type = WRL1NODES::WRL1_COORDINATE3;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
WRL1FACESET::WRL1FACESET( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_INDEXEDFACESET;
|
||||
m_Type = WRL1NODES::WRL1_INDEXEDFACESET;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ WRL1FACESET::WRL1FACESET( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
|||
WRL1FACESET::WRL1FACESET( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_INDEXEDFACESET;
|
||||
m_Type = WRL1NODES::WRL1_INDEXEDFACESET;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
WRL1GROUP::WRL1GROUP( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_GROUP;
|
||||
m_Type = WRL1NODES::WRL1_GROUP;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ WRL1GROUP::WRL1GROUP( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
|||
WRL1GROUP::WRL1GROUP( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_GROUP;
|
||||
m_Type = WRL1NODES::WRL1_GROUP;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
@ -188,7 +188,7 @@ SGNODE* WRL1GROUP::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp )
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if( WRL1_BASE != m_Parent->GetNodeType() )
|
||||
if( WRL1NODES::WRL1_BASE != m_Parent->GetNodeType() )
|
||||
{
|
||||
if( NULL == sp )
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
WRL1MATBINDING::WRL1MATBINDING( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_binding = WRL1_BINDING::BIND_OVERALL;
|
||||
m_Type = WRL1_MATERIALBINDING;
|
||||
m_Type = WRL1NODES::WRL1_MATERIALBINDING;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ WRL1MATBINDING::WRL1MATBINDING( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
|||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_binding = WRL1_BINDING::BIND_OVERALL;
|
||||
m_Type = WRL1_MATERIALBINDING;
|
||||
m_Type = WRL1NODES::WRL1_MATERIALBINDING;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
|
|
@ -35,7 +35,7 @@ WRL1MATERIAL::WRL1MATERIAL( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary
|
|||
{
|
||||
colors[0] = NULL;
|
||||
colors[1] = NULL;
|
||||
m_Type = WRL1_MATERIAL;
|
||||
m_Type = WRL1NODES::WRL1_MATERIAL;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ WRL1MATERIAL::WRL1MATERIAL( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
|||
{
|
||||
colors[0] = NULL;
|
||||
colors[1] = NULL;
|
||||
m_Type = WRL1_MATERIAL;
|
||||
m_Type = WRL1NODES::WRL1_MATERIAL;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
|
|
@ -94,46 +94,46 @@ WRL1NODE::WRL1NODE( NAMEREGISTER* aDictionary )
|
|||
{
|
||||
m_sgNode = NULL;
|
||||
m_Parent = NULL;
|
||||
m_Type = WRL1_END;
|
||||
m_Type = WRL1NODES::WRL1_END;
|
||||
m_dictionary = aDictionary;
|
||||
|
||||
if( nodenames.empty() )
|
||||
{
|
||||
nodenames.insert( NODEITEM( "AsciiText", WRL1_ASCIITEXT ) );
|
||||
nodenames.insert( NODEITEM( "Cone", WRL1_CONE ) );
|
||||
nodenames.insert( NODEITEM( "Coordinate3", WRL1_COORDINATE3 ) );
|
||||
nodenames.insert( NODEITEM( "Cube", WRL1_CUBE ) );
|
||||
nodenames.insert( NODEITEM( "Cylinder", WRL1_CYLINDER ) );
|
||||
nodenames.insert( NODEITEM( "DirectionalLight", WRL1_DIRECTIONALLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "FontStyle", WRL1_FONTSTYLE ) );
|
||||
nodenames.insert( NODEITEM( "Group", WRL1_GROUP ) );
|
||||
nodenames.insert( NODEITEM( "IndexedFaceSet", WRL1_INDEXEDFACESET ) );
|
||||
nodenames.insert( NODEITEM( "IndexedLineSet", WRL1_INDEXEDLINESET ) );
|
||||
nodenames.insert( NODEITEM( "Info", WRL1_INFO ) );
|
||||
nodenames.insert( NODEITEM( "LOD", WRL1_LOD ) );
|
||||
nodenames.insert( NODEITEM( "Material", WRL1_MATERIAL ) );
|
||||
nodenames.insert( NODEITEM( "MaterialBinding", WRL1_MATERIALBINDING ) );
|
||||
nodenames.insert( NODEITEM( "MatrixTransform", WRL1_MATRIXTRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "Normal", WRL1_NORMAL ) );
|
||||
nodenames.insert( NODEITEM( "NormalBinding", WRL1_NORMALBINDING ) );
|
||||
nodenames.insert( NODEITEM( "OrthographicCamera", WRL1_ORTHOCAMERA ) );
|
||||
nodenames.insert( NODEITEM( "PerspectiveCamera", WRL1_PERSPECTIVECAMERA ) );
|
||||
nodenames.insert( NODEITEM( "PointLight", WRL1_POINTLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "PointSet", WRL1_POINTSET ) );
|
||||
nodenames.insert( NODEITEM( "Rotation", WRL1_ROTATION ) );
|
||||
nodenames.insert( NODEITEM( "Scale", WRL1_SCALE ) );
|
||||
nodenames.insert( NODEITEM( "Separator", WRL1_SEPARATOR ) );
|
||||
nodenames.insert( NODEITEM( "ShapeHints", WRL1_SHAPEHINTS ) );
|
||||
nodenames.insert( NODEITEM( "Sphere", WRL1_SPHERE ) );
|
||||
nodenames.insert( NODEITEM( "SpotLight", WRL1_SPOTLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "Switch", WRL1_SWITCH ) );
|
||||
nodenames.insert( NODEITEM( "Texture2", WRL1_TEXTURE2 ) );
|
||||
nodenames.insert( NODEITEM( "Testure2Transform", WRL1_TEXTURE2TRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "TextureCoordinate2", WRL1_TEXTURECOORDINATE2 ) );
|
||||
nodenames.insert( NODEITEM( "Transform", WRL1_TRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "Translation", WRL1_TRANSLATION ) );
|
||||
nodenames.insert( NODEITEM( "WWWAnchor", WRL1_WWWANCHOR ) );
|
||||
nodenames.insert( NODEITEM( "WWWInline", WRL1_WWWINLINE ) );
|
||||
nodenames.insert( NODEITEM( "AsciiText", WRL1NODES::WRL1_ASCIITEXT ) );
|
||||
nodenames.insert( NODEITEM( "Cone", WRL1NODES::WRL1_CONE ) );
|
||||
nodenames.insert( NODEITEM( "Coordinate3", WRL1NODES::WRL1_COORDINATE3 ) );
|
||||
nodenames.insert( NODEITEM( "Cube", WRL1NODES::WRL1_CUBE ) );
|
||||
nodenames.insert( NODEITEM( "Cylinder", WRL1NODES::WRL1_CYLINDER ) );
|
||||
nodenames.insert( NODEITEM( "DirectionalLight", WRL1NODES::WRL1_DIRECTIONALLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "FontStyle", WRL1NODES::WRL1_FONTSTYLE ) );
|
||||
nodenames.insert( NODEITEM( "Group", WRL1NODES::WRL1_GROUP ) );
|
||||
nodenames.insert( NODEITEM( "IndexedFaceSet", WRL1NODES::WRL1_INDEXEDFACESET ) );
|
||||
nodenames.insert( NODEITEM( "IndexedLineSet", WRL1NODES::WRL1_INDEXEDLINESET ) );
|
||||
nodenames.insert( NODEITEM( "Info", WRL1NODES::WRL1_INFO ) );
|
||||
nodenames.insert( NODEITEM( "LOD", WRL1NODES::WRL1_LOD ) );
|
||||
nodenames.insert( NODEITEM( "Material", WRL1NODES::WRL1_MATERIAL ) );
|
||||
nodenames.insert( NODEITEM( "MaterialBinding", WRL1NODES::WRL1_MATERIALBINDING ) );
|
||||
nodenames.insert( NODEITEM( "MatrixTransform", WRL1NODES::WRL1_MATRIXTRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "Normal", WRL1NODES::WRL1_NORMAL ) );
|
||||
nodenames.insert( NODEITEM( "NormalBinding", WRL1NODES::WRL1_NORMALBINDING ) );
|
||||
nodenames.insert( NODEITEM( "OrthographicCamera", WRL1NODES::WRL1_ORTHOCAMERA ) );
|
||||
nodenames.insert( NODEITEM( "PerspectiveCamera", WRL1NODES::WRL1_PERSPECTIVECAMERA ) );
|
||||
nodenames.insert( NODEITEM( "PointLight", WRL1NODES::WRL1_POINTLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "PointSet", WRL1NODES::WRL1_POINTSET ) );
|
||||
nodenames.insert( NODEITEM( "Rotation", WRL1NODES::WRL1_ROTATION ) );
|
||||
nodenames.insert( NODEITEM( "Scale", WRL1NODES::WRL1_SCALE ) );
|
||||
nodenames.insert( NODEITEM( "Separator", WRL1NODES::WRL1_SEPARATOR ) );
|
||||
nodenames.insert( NODEITEM( "ShapeHints", WRL1NODES::WRL1_SHAPEHINTS ) );
|
||||
nodenames.insert( NODEITEM( "Sphere", WRL1NODES::WRL1_SPHERE ) );
|
||||
nodenames.insert( NODEITEM( "SpotLight", WRL1NODES::WRL1_SPOTLIGHT ) );
|
||||
nodenames.insert( NODEITEM( "Switch", WRL1NODES::WRL1_SWITCH ) );
|
||||
nodenames.insert( NODEITEM( "Texture2", WRL1NODES::WRL1_TEXTURE2 ) );
|
||||
nodenames.insert( NODEITEM( "Testure2Transform", WRL1NODES::WRL1_TEXTURE2TRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "TextureCoordinate2", WRL1NODES::WRL1_TEXTURECOORDINATE2 ) );
|
||||
nodenames.insert( NODEITEM( "Transform", WRL1NODES::WRL1_TRANSFORM ) );
|
||||
nodenames.insert( NODEITEM( "Translation", WRL1NODES::WRL1_TRANSLATION ) );
|
||||
nodenames.insert( NODEITEM( "WWWAnchor", WRL1NODES::WRL1_WWWANCHOR ) );
|
||||
nodenames.insert( NODEITEM( "WWWInline", WRL1NODES::WRL1_WWWINLINE ) );
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -252,7 +252,7 @@ void WRL1NODE::cancelDict( void )
|
|||
++sC;
|
||||
}
|
||||
|
||||
if( m_Type == WRL1_BASE && NULL != m_dictionary )
|
||||
if( m_Type == WRL1NODES::WRL1_BASE && NULL != m_dictionary )
|
||||
delete m_dictionary;
|
||||
|
||||
m_dictionary = NULL;
|
||||
|
@ -377,14 +377,14 @@ bool WRL1NODE::SetName( const std::string& aName )
|
|||
|
||||
const char* WRL1NODE::GetNodeTypeName( WRL1NODES aNodeType ) const
|
||||
{
|
||||
if( aNodeType < WRL1_BASE || aNodeType >= WRL1_END )
|
||||
if( aNodeType < WRL1NODES::WRL1_BASE || aNodeType >= WRL1NODES::WRL1_END )
|
||||
return "*INVALID_TYPE*";
|
||||
|
||||
if( aNodeType == WRL1_BASE )
|
||||
if( aNodeType == WRL1NODES::WRL1_BASE )
|
||||
return "*VIRTUAL_BASE*";
|
||||
|
||||
NODEMAP::iterator it = nodenames.begin();
|
||||
advance( it, (aNodeType - WRL1_BEGIN) );
|
||||
advance( it, ( static_cast<int>( aNodeType ) - static_cast<int>( WRL1NODES::WRL1_BEGIN ) ) );
|
||||
|
||||
return it->first.c_str();
|
||||
}
|
||||
|
@ -397,7 +397,7 @@ WRL1NODES WRL1NODE::getNodeTypeID( const std::string& aNodeName )
|
|||
if( nodenames.end() != it )
|
||||
return it->second;
|
||||
|
||||
return WRL1_INVALID;
|
||||
return WRL1NODES::WRL1_INVALID;
|
||||
}
|
||||
|
||||
|
||||
|
@ -441,7 +441,7 @@ bool WRL1NODE::SetParent( WRL1NODE* aParent, bool doUnlink )
|
|||
|
||||
bool WRL1NODE::AddChildNode( WRL1NODE* aNode )
|
||||
{
|
||||
if( aNode->GetNodeType() == WRL1_BASE )
|
||||
if( aNode->GetNodeType() == WRL1NODES::WRL1_BASE )
|
||||
{
|
||||
#ifdef DEBUG_VRML1
|
||||
do {
|
||||
|
@ -492,7 +492,7 @@ bool WRL1NODE::AddRefNode( WRL1NODE* aNode )
|
|||
return false;
|
||||
}
|
||||
|
||||
if( aNode->GetNodeType() == WRL1_BASE )
|
||||
if( aNode->GetNodeType() == WRL1NODES::WRL1_BASE )
|
||||
{
|
||||
#ifdef DEBUG_VRML1
|
||||
do {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
WRL1SEPARATOR::WRL1SEPARATOR( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_SEPARATOR;
|
||||
m_Type = WRL1NODES::WRL1_SEPARATOR;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ WRL1SEPARATOR::WRL1SEPARATOR( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionar
|
|||
WRL1SEPARATOR::WRL1SEPARATOR( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_SEPARATOR;
|
||||
m_Type = WRL1NODES::WRL1_SEPARATOR;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
WRL1SHAPEHINTS::WRL1SHAPEHINTS( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_order = WRL1_ORDER::ORD_UNKNOWN;
|
||||
m_Type = WRL1_SHAPEHINTS;
|
||||
m_Type = WRL1NODES::WRL1_SHAPEHINTS;
|
||||
m_crease = 0.733f; // approx 42 degrees; this is larger than VRML spec.
|
||||
return;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ WRL1SHAPEHINTS::WRL1SHAPEHINTS( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
|||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_order = WRL1_ORDER::ORD_UNKNOWN;
|
||||
m_Type = WRL1_SHAPEHINTS;
|
||||
m_Type = WRL1NODES::WRL1_SHAPEHINTS;
|
||||
m_crease = 0.733f; // approx 42 degrees; this is larger than VRML spec.
|
||||
m_Parent = aParent;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
WRL1SWITCH::WRL1SWITCH( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_SWITCH;
|
||||
m_Type = WRL1NODES::WRL1_SWITCH;
|
||||
whichChild = -1;
|
||||
|
||||
return;
|
||||
|
@ -43,7 +43,7 @@ WRL1SWITCH::WRL1SWITCH( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
|||
WRL1SWITCH::WRL1SWITCH( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_SWITCH;
|
||||
m_Type = WRL1NODES::WRL1_SWITCH;
|
||||
m_Parent = aParent;
|
||||
whichChild = -1;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
WRL1TRANSFORM::WRL1TRANSFORM( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_TRANSFORM;
|
||||
m_Type = WRL1NODES::WRL1_TRANSFORM;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ WRL1TRANSFORM::WRL1TRANSFORM( NAMEREGISTER* aDictionary ) : WRL1NODE( aDictionar
|
|||
WRL1TRANSFORM::WRL1TRANSFORM( NAMEREGISTER* aDictionary, WRL1NODE* aParent ) :
|
||||
WRL1NODE( aDictionary )
|
||||
{
|
||||
m_Type = WRL1_TRANSFORM;
|
||||
m_Type = WRL1NODES::WRL1_TRANSFORM;
|
||||
m_Parent = aParent;
|
||||
|
||||
if( NULL != m_Parent )
|
||||
|
@ -346,7 +346,7 @@ SGNODE* WRL1TRANSFORM::TranslateToSG( SGNODE* aParent, WRL1STATUS* sp )
|
|||
if( NULL == m_Parent )
|
||||
return NULL;
|
||||
|
||||
if( WRL1_BASE == m_Parent->GetNodeType() )
|
||||
if( WRL1NODES::WRL1_BASE == m_Parent->GetNodeType() )
|
||||
return NULL;
|
||||
|
||||
if( NULL == sp )
|
||||
|
|
|
@ -49,7 +49,7 @@ enum class WRLVERSION
|
|||
// These are used to look up node names and to quickly
|
||||
// determine what routine to invoke to read a section of
|
||||
// a file.
|
||||
enum WRL1NODES
|
||||
enum class WRL1NODES
|
||||
{
|
||||
WRL1_BASE = 0, // not really a VRML node but we need a top level virtual node
|
||||
WRL1_BEGIN,
|
||||
|
|
Loading…
Reference in New Issue