Ignore:
Timestamp:
07/12/05 21:08:40 (19 years ago)
Author:
bittner
Message:

mesh kd tree added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp

    r162 r170  
    22#include "Exporter.h" 
    33#include "UnigraphicsParser.h" 
     4#include "X3dParser.h" 
    45#include "Preprocessor.h" 
    56 
     
    2728 
    2829  mSceneGraph = new SceneGraph; 
    29   Parser *parser = new UnigraphicsParser; 
     30 
     31   
     32  Parser *parser; 
     33 
     34  if (strstr(filename.c_str(), ".x3d")) 
     35    parser = new X3dParser; 
     36  else 
     37    parser = new UnigraphicsParser; 
     38 
    3039  bool result = parser->ParseFile(filename, &mSceneGraph->mRoot); 
    3140   
Note: See TracChangeset for help on using the changeset viewer.