Show
Ignore:
Timestamp:
04/27/15 21:31:13 (15 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/osg/Geometry

    r13491 r13502  
    236236            BIND_OVERALL=1, 
    237237            BIND_PER_PRIMITIVE_SET=2, 
     238#if defined(OSG_USE_DEPRECATED_GEOMETRY_METHODS) 
    238239            BIND_PER_PRIMITIVE=3, /// no longer supported 
     240#endif 
    239241            BIND_PER_VERTEX=4 
    240242        };