From 043016ce1d7a0e4652192429630f45483cec510c Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Mon, 22 Apr 2002 21:45:33 +0000 Subject: [PATCH] Fixed couple of small errors caught by Solaris compiler --- src/Demos/hangglide/hangglide.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Demos/hangglide/hangglide.cpp b/src/Demos/hangglide/hangglide.cpp index 6bc224f42..4f23f0485 100644 --- a/src/Demos/hangglide/hangglide.cpp +++ b/src/Demos/hangglide/hangglide.cpp @@ -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; } };