From 862a0c68e370a0cf23866f086655cd14e63eaf51 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 1 Nov 2010 10:31:30 +0000 Subject: [PATCH] From Mathias Goldau, "Added very brief documentation when to use the triangle mesh class. I generated the make doc_openscenegraph target to verify that this change does not break something. " --- examples/osghud/CMakeLists.txt | 1 + include/osg/Shape | 2 ++ 2 files changed, 3 insertions(+) diff --git a/examples/osghud/CMakeLists.txt b/examples/osghud/CMakeLists.txt index c1ac826ce..b44091971 100644 --- a/examples/osghud/CMakeLists.txt +++ b/examples/osghud/CMakeLists.txt @@ -2,5 +2,6 @@ SET(TARGET_SRC osghud.cpp ) +SET(TARGET_ADDED_LIBRARIES osgManipulator ) #### end var setup ### SETUP_EXAMPLE(osghud) diff --git a/include/osg/Shape b/include/osg/Shape index 7879a28df..653e763b9 100644 --- a/include/osg/Shape +++ b/include/osg/Shape @@ -428,6 +428,8 @@ class OSG_EXPORT InfinitePlane : public Shape, public Plane virtual ~InfinitePlane(); }; +/** Exists to support collision detection engines not for doing rendering, use \ref osg::Geometry instead. + */ class OSG_EXPORT TriangleMesh : public Shape { public: