Commit 1a742ebc authored by Will Schroeder's avatar Will Schroeder
Browse files

*** empty log message ***

parent 4e48c8b2
......@@ -80,7 +80,7 @@ void vlImplicitModeller::SetModelBounds(float xmin, float xmax, float ymin, floa
this->Origin[1] = ymin;
this->Origin[2] = zmin;
if ( (length = xmin - xmax) == 0.0 ) length = 1.0;
if ( (length = xmax - xmin) == 0.0 ) length = 1.0;
this->AspectRatio[0] = 1.0;
this->AspectRatio[1] = (ymax - ymin) / length;
this->AspectRatio[2] = (zmax - zmin) / length;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment