Added UseFarLineSegments option

This commit is contained in:
Robert Osfield
2006-04-25 12:56:33 +00:00
parent 039457700d
commit 475f526b3d
2 changed files with 10 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ int main( int argc, char **argv )
while (arguments.read("--fogColor", color.r(), color.g(), color.b(), color.a() )) precipitationEffect->getFog()->setColor(color);
while (arguments.read("--fogColour", color.r(), color.g(), color.b(), color.a() )) precipitationEffect->getFog()->setColor(color);
// while (arguments.read("--useFarLineSegments")) { parameters.useFarLineSegments = true; }
while (arguments.read("--useFarLineSegments")) { precipitationEffect->setUseFarLineSegments(true); }
viewer.setClearColor( precipitationEffect->getFog()->getColor() );