From Ulrich Hertlein, spelling corrections and a few Doxgen comments.

This commit is contained in:
Robert Osfield
2006-02-20 21:05:23 +00:00
parent b0358c698a
commit 7d5c81bf5e
12 changed files with 72 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ using namespace osg;
CameraNode::CameraNode():
_clearColor(osg::Vec4(0.0f,0.0f,0.0f,1.0f)),
_clearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT),
_transformOrder(PRE_MULTIPLE),
_transformOrder(PRE_MULTIPLY),
_renderOrder(POST_RENDER),
_drawBuffer(GL_NONE),
_readBuffer(GL_NONE),
@@ -236,7 +236,7 @@ bool CameraNode::computeLocalToWorldMatrix(Matrix& matrix,NodeVisitor*) const
{
if (_referenceFrame==RELATIVE_RF)
{
if (_transformOrder==PRE_MULTIPLE)
if (_transformOrder==PRE_MULTIPLY)
{
matrix.preMult(_viewMatrix);
}
@@ -258,7 +258,7 @@ bool CameraNode::computeWorldToLocalMatrix(Matrix& matrix,NodeVisitor*) const
if (_referenceFrame==RELATIVE_RF)
{
if (_transformOrder==PRE_MULTIPLE)
if (_transformOrder==PRE_MULTIPLY)
{
// note doing inverse so pre becomes post.
matrix.postMult(inverse);