Changed the length multiple to be 2x the bounding sphere radius
This commit is contained in:
parent
f62d0e4dd2
commit
d64aa24449
@ -48,7 +48,7 @@ void VisibilityGroup::traverse(osg::NodeVisitor& nv)
|
||||
// now scale the segment to the segment length - if 0 use the group bounding sphere radius
|
||||
float length = _segmentLength;
|
||||
if(length == 0.f)
|
||||
length = getBound().radius();
|
||||
length = 2.0f*getBound().radius();
|
||||
look *= length;
|
||||
osg::Vec3 center = eye + look;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user