root/OpenSceneGraph/trunk/src/osgPlugins/ive/Geometry.h @ 13557

Revision 13557, 273 bytes (checked in by robert, 84 minutes ago)

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.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#ifndef IVE_GEOMETRY
2#define IVE_GEOMETRY 1
3
4#include <osg/Geometry>
5#include "ReadWrite.h"
6
7namespace ive{
8class Geometry : public ReadWrite, public deprecated_osg::Geometry {
9public:
10    void write(DataOutputStream* out);
11    void read(DataInputStream* in);
12};
13}
14
15#endif
Note: See TracBrowser for help on using the browser.