Clean up comments and rebuilt wrappers.
Added extra event handlers to osgsimulator example
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user