Added depecated message to redundent shape classes

This commit is contained in:
Robert Osfield 2016-06-24 09:46:19 +01:00
parent 0e21058d10
commit c8d668b298

View File

@ -412,6 +412,7 @@ class OSG_EXPORT Capsule : public Shape
Quat _rotation; Quat _rotation;
}; };
/** Deprecated. */
class OSG_EXPORT InfinitePlane : public Shape, public Plane class OSG_EXPORT InfinitePlane : public Shape, public Plane
{ {
public: public:
@ -428,8 +429,7 @@ class OSG_EXPORT InfinitePlane : public Shape, public Plane
virtual ~InfinitePlane(); virtual ~InfinitePlane();
}; };
/** Exists to support collision detection engines not for doing rendering, use \ref osg::Geometry instead. /** Deprecated. */
*/
class OSG_EXPORT TriangleMesh : public Shape class OSG_EXPORT TriangleMesh : public Shape
{ {
public: public:
@ -462,6 +462,7 @@ class OSG_EXPORT TriangleMesh : public Shape
}; };
/** Deprecated. */
class OSG_EXPORT ConvexHull : public TriangleMesh class OSG_EXPORT ConvexHull : public TriangleMesh
{ {
public: public:
@ -585,6 +586,7 @@ class OSG_EXPORT HeightField : public Shape
typedef HeightField Grid; typedef HeightField Grid;
/** Deprecated. */
class OSG_EXPORT CompositeShape : public Shape class OSG_EXPORT CompositeShape : public Shape
{ {
public: public: