File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,19 +50,19 @@ int main(int argc, const char* argv[]) {
5050 const size_t id = atoi (argv[1 ]) - 1 ;
5151 assert (id < kNumScenes );
5252
53- std::cout << " Loading Scene " << id + 1 << " ..." << std::flush ;
53+ std::cout << " Loading Scene " << id + 1 << " ..." ;
5454 const std::string& filename = kSceneFiles [id];
5555 const std::string basedir (filename, 0 , filename.rfind (" /" ) + 1 );
5656 cupt::Scene scene (kIntensities [id], filename.c_str (), basedir.c_str ());
5757 tracer.SetScene (scene);
5858 std::cout << " Done" << std::endl;
5959
60- std::cout << " Rendering Scene " << id + 1 << " ..." << std::flush ;
60+ std::cout << " Rendering Scene " << id + 1 << " ..." ;
6161 const cupt::Camera& camera = kCameras [id];
6262 cupt::Image image = tracer.Render (camera);
6363 std::cout << " Done" << ::std::endl;
6464
65- std::cout << " Saving Result..." << std::flush ;
65+ std::cout << " Saving Result..." ;
6666 bool success = image.Save (argv[2 ]);
6767 if (success) {
6868 std::cout << " Success!" << std::endl;
@@ -71,4 +71,4 @@ int main(int argc, const char* argv[]) {
7171 }
7272
7373 return 0 ;
74- }
74+ }
You can’t perform that action at this time.
0 commit comments