Changeset 3279

Show
Ignore:
Timestamp:
08/16/04 10:32:16 (10 years ago)
Author:
robert
Message:

Changed the length multiple to be 2x the bounding sphere radius

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgSim/VisibilityGroup.cpp

    r3278 r3279  
    4949        float length = _segmentLength; 
    5050        if(length == 0.f) 
    51             length = getBound().radius(); 
     51            length = 2.0f*getBound().radius(); 
    5252        look *= length; 
    5353        osg::Vec3 center = eye + look;