Fixed comments.
This commit is contained in:
@@ -9,21 +9,9 @@
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** Transform - is group which all children are transformed by the the Transform's osg::Matrix.
|
||||
* Typical uses
|
||||
* of the Transform is for positioning objects within a scene or
|
||||
* producing trackball functionality or for animation.
|
||||
* The Transform node can be customized via the ComputeTransfromCallback which can be
|
||||
* attached to the node, this might be used to convert internal representations of the transformation
|
||||
* into generic osg::Matrix'c which are used during scene grpah traversal, such as CullTraversal and IntersectionTraversal.
|
||||
* Note, if the transformation matrix scales the subgraph then the
|
||||
* normals of the underlying geometry will need to be renormalized to
|
||||
* be unit vectors once more. One can done transparently through OpenGL's
|
||||
* use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. Further
|
||||
* background reading see the glNormalize documentation in the OpenGL Reference
|
||||
* Guide (the blue book). To enable it in the OSG, you simple need to
|
||||
* attach a local osg::StateSet to the osg::Transform, and set the appropriate
|
||||
* mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);.
|
||||
/** MatrixTransform - is a subclass of Transform which has an osg::Matrix
|
||||
* which represent a 4x4 transformation of its children from local cordinates
|
||||
* into the Transform's parent coordinates.
|
||||
*/
|
||||
class SG_EXPORT MatrixTransform : public Transform
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user