Clean up comments and rebuilt wrappers.

Added extra event handlers to osgsimulator example
This commit is contained in:
Robert Osfield
2007-05-14 16:14:40 +00:00
parent fac01b5a23
commit 74e968df76
9 changed files with 221 additions and 7 deletions

View File

@@ -421,7 +421,7 @@ class OSG_EXPORT Drawable : public Object
* must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable.
* drawImplementation(RenderInfo&) is called from the draw(RenderInfo&) method, with the draw method handling management of OpenGL display lists,
* and drawImplementation(RenderInfo&) handling the actuall drawing itself.
* @param state The osg::State object that encapulates the current OpenGL state for the current graphics context. */
* @param renderInfo The osg::RenderInfo object that encapulates the current rendering information including the osg::State OpenGL state for the current graphics context. */
virtual void drawImplementation(RenderInfo& renderInfo) const = 0;

View File

@@ -64,7 +64,7 @@ class OSGSIM_EXPORT HeightAboveTerrain
* If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. */
void computeIntersections(osg::Node* scene, osg::Node::NodeMask traversalMask=0xffffffff);
/** Compute the vertical distance between the specified scene graph and a single HAT point. .*/
/** Compute the vertical distance between the specified scene graph and a single HAT point. */
static double computeHeightAboveTerrain(osg::Node* scene, const osg::Vec3d& point, osg::Node::NodeMask traversalMask=0xffffffff);

View File

@@ -20,7 +20,7 @@
namespace osgViewer {
/** Viewer holds a single view on to a single scene..*/
/** Viewer holds a single view on to a single scene.*/
class OSGVIEWER_EXPORT Viewer : public osgViewer::View
{
public: