Show
Ignore:
Timestamp:
04/27/15 21:31:13 (10 hours ago)
Author:
robert
Message:

Renamed LineSegment::intersect(BoundingSphere/Box?, double/float&, double/float&) methods to LineSegment::intersectAndComputeRations(..) to avoid confusion with the change in convention for
the old intersect(BoundingBox?&, float/double&, float/double&) method as it was inconsitent with the rest of the OSG including the intersect(BoundingSphere?) method in how the ratio for the
second intersection was measure from - original from the end point, but now made consistent with other places in the OSG so be based on ration from start to end of segment.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/api/Carbon/GraphicsWindowCarbon

    r11357 r13130  
    4949                getState()->setGraphicsContext(this); 
    5050 
    51                 if (_traits.valid() && _traits->sharedContext) 
     51                if (_traits.valid() && _traits->sharedContext.valid()) 
    5252                { 
    5353                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );