Skip to content

Commit

Permalink
Fixed brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed May 23, 2007
1 parent 55ba8cc commit 2d2b67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgSim/OverlayNode.cpp
Expand Up @@ -373,7 +373,7 @@ class CustomPolytope

Vertices& vertices = newFace.vertices;

osg::Vec3d side = fabs(plane.getNormal().x() < fabs(plane.getNormal().y())) ?
osg::Vec3d side = ( fabs(plane.getNormal().x()) < fabs(plane.getNormal().y()) ) ?
osg::Vec3(1.0, 0.0, 0.0) :
osg::Vec3(0.0, 1.0, 0.0);

Expand Down

0 comments on commit 2d2b67e

Please sign in to comment.