Text archives Help
- From: abe@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r333 - branches/itanium2/scenes
- Date: Thu, 19 May 2005 19:25:34 -0600 (MDT)
Author: abe
Date: Thu May 19 19:25:33 2005
New Revision: 333
Modified:
branches/itanium2/scenes/boeing777.cc
Log:
Minor change for compiler errors
Modified: branches/itanium2/scenes/boeing777.cc
==============================================================================
--- branches/itanium2/scenes/boeing777.cc (original)
+++ branches/itanium2/scenes/boeing777.cc Thu May 19 19:25:33 2005
@@ -39,18 +39,18 @@
for (int i=0;i<args.size();++i) {
if (args[i] == "-file") {
// Determine the index of the filename.
- if (!getStringArgument(++i, args, file_name))
- throw IllegalArgument("boeing777 -file");
+ if (!getStringArg(++i, args, file_name))
+ throw IllegalArgument("boeing777 -file", i, args);
}
else {
cerr << "Valid options for boeing777:" << endl;
cerr << "-file <filename>" << endl;
- throw IllegalArgument( "boeing777" );
+ throw IllegalArgument( "boeing777", i, args );
}
}
// Create the scene.
- Scene scene = new Scene();
+ Scene *scene = new Scene();
// Create a kd tree.
Group *world = new KdTree( file_name.c_str() );
- [MANTA] r333 - branches/itanium2/scenes, abe, 05/19/2005
Archive powered by MHonArc 2.6.16.