Show
Ignore:
Timestamp:
04/27/15 21:31:13 (21 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/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp

    r13247 r13429  
    170170 
    171171     
    172     virtual void checkEvents() 
     172    virtual bool checkEvents() 
    173173    { 
    174174        if ((fabs(_currentMouseX - _targetMouseY) > 0.1f) || (fabs(_currentMouseY - _targetMouseY) > 0.1)) 
     
    179179            getEventQueue()->mouseMotion(_currentMouseX, _currentMouseY, getEventQueue()->getTime()); 
    180180        } 
     181        return !(getEventQueue()->empty()); 
    181182    } 
    182183