From Magnus Kessler, typo and documentation fixes
This commit is contained in:
@@ -248,7 +248,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
|
||||
/** Set the view matrix. Can be thought of as setting the position of the world relative to the camera in camera coordinates. */
|
||||
inline void setViewMatrix(const osg::Matrixd& matrix) { _camera->setViewMatrix(matrix); }
|
||||
|
||||
/** Set the position and orientation of view matrix, using the same convention as gluLookAt. */
|
||||
/** Set the position and orientation components of the view matrix, using the same convention as gluLookAt. */
|
||||
void setViewMatrixAsLookAt(const osg::Vec3& eye,const osg::Vec3& center,const osg::Vec3& up);
|
||||
|
||||
/** Get the view matrix. */
|
||||
@@ -257,7 +257,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
|
||||
/** Get the const view matrix. */
|
||||
const osg::Matrixd& getViewMatrix() const { return _camera->getViewMatrix(); }
|
||||
|
||||
/** Get the position and orientation of a modelview matrix, using the same convention as gluLookAt. */
|
||||
/** Get the position and orientation components of a modelview matrix, using the same convention as gluLookAt. */
|
||||
void getViewMatrixAsLookAt(osg::Vec3& eye,osg::Vec3& center,osg::Vec3& up,float lookDistance=1.0f) const;
|
||||
|
||||
|
||||
@@ -438,14 +438,14 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
|
||||
virtual osg::Matrixd computeRightEyeProjectionImplementation(const osg::Matrixd& projection) const;
|
||||
virtual osg::Matrixd computeRightEyeViewImplementation(const osg::Matrixd& view) const;
|
||||
|
||||
/** Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.*/
|
||||
/** Inherit the local cull settings variable from a specified CullSettings object, according to the inheritance mask.*/
|
||||
virtual void inheritCullSettings(const osg::CullSettings& settings) { inheritCullSettings(settings, _inheritanceMask); }
|
||||
|
||||
/** Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.*/
|
||||
/** Inherit the local cull settings variable from a specified CullSettings object, according to the inheritance mask.*/
|
||||
virtual void inheritCullSettings(const osg::CullSettings& settings, unsigned int inheritanceMask);
|
||||
|
||||
|
||||
/** Do init traversal of attached scene graph using Init NodeVisitor.
|
||||
/** Do init traversal of the attached scene graph using Init NodeVisitor.
|
||||
* The init traversal is called once for each SceneView, and should
|
||||
* be used to compile display lists, texture objects and intialize data
|
||||
* not otherwise intialized during scene graph loading. Note, is
|
||||
@@ -454,10 +454,10 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings
|
||||
* graphics context.*/
|
||||
virtual void init();
|
||||
|
||||
/** Do app traversal of attached scene graph using App NodeVisitor.*/
|
||||
/** Do app traversal of the attached scene graph using App NodeVisitor.*/
|
||||
virtual void update();
|
||||
|
||||
/** Do cull traversal of attached scene graph using Cull NodeVisitor.*/
|
||||
/** Do cull traversal of the attached scene graph using Cull NodeVisitor.*/
|
||||
virtual void cull();
|
||||
|
||||
/** Do draw traversal of draw bins generated by cull traversal.*/
|
||||
|
||||
Reference in New Issue
Block a user