Fixed couple of small errors caught by Solaris compiler

This commit is contained in:
Don BURNS 2002-04-22 21:45:33 +00:00
parent 43abbe311e
commit 043016ce1d

View File

@ -36,6 +36,7 @@ struct MoveEarthySkyWithEyePointCallback : public osg::Transform::ComputeTransfo
osg::Vec3 eyePointLocal = cv->getEyeLocal();
matrix.preMult(osg::Matrix::translate(eyePointLocal.x(),eyePointLocal.y(),0.0f));
}
return true;
}
/** Get the transformation matrix which moves from world coords to local coords.*/
@ -47,6 +48,7 @@ struct MoveEarthySkyWithEyePointCallback : public osg::Transform::ComputeTransfo
osg::Vec3 eyePointLocal = cv->getEyeLocal();
matrix.postMult(osg::Matrix::translate(-eyePointLocal.x(),-eyePointLocal.y(),0.0f));
}
return true;
}
};