Changeset 339 for trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp
- Timestamp:
- 10/18/05 14:21:26 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Preprocessor.cpp
r331 r339 13 13 { 14 14 } 15 15 16 16 17 Preprocessor::~Preprocessor() … … 44 45 } 45 46 46 bool Preprocessor::ParseViewCellsOptions() 47 bool 48 Preprocessor::ParseViewCellsOptions() 47 49 { 48 50 // parse type of view cells … … 114 116 115 117 bool result = parser->ParseFile(filename, &mSceneGraph->mRoot); 116 118 119 120 117 121 delete parser; 118 122 123 if (result) 124 mSceneGraph->AssignObjectIds(); 125 119 126 return result; 120 127 } … … 152 159 bool 153 160 Preprocessor::Export( const string filename, 154 155 156 157 161 const bool scene, 162 const bool kdtree, 163 const bool bsptree 164 ) 158 165 { 159 166 Exporter *exporter = Exporter::GetExporter(filename); 160 167 161 168 if (exporter) { 162 169 if (scene)
Note: See TracChangeset
for help on using the changeset viewer.