- Timestamp:
- 05/22/06 07:53:18 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/VisibilityEnvironment.cpp
r944 r971 9 9 VisibilityEnvironment::VisibilityEnvironment() 10 10 { 11 // load debug stream11 // HACK: loading debug stream should not happen here 12 12 GtpVisibilityPreprocessor::Debug.open("debug.log"); 13 14 13 // load environment 15 14 mEnvironment = new GtpVisibilityPreprocessor::Environment(); … … 22 21 //----------------------------------------------------------------------- 23 22 bool VisibilityEnvironment::LoadEnvironment(string filename) 24 { 25 //-- parse filename into c-style argument list 26 /*char argc = 2; 27 char *argv[2]; 28 argv[0] = ""; 29 30 char fname[200]; 31 sprintf(fname, "%s", filename.c_str()); 32 argv[1] = fname; 33 34 GtpVisibilityPreprocessor::Debug << "loading environment from: " << argv[1] << endl; 35 return GtpVisibilityPreprocessor::environment->Parse(argc, argv, false); 36 */ 23 { 37 24 //-- parse environment 38 25 return mEnvironment->ReadEnvFile(filename.c_str());
Note: See TracChangeset
for help on using the changeset viewer.