From 026fba54b435021c1c22b6ea78d0112d782adddb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 26 Oct 2005 16:02:24 +0000 Subject: [PATCH] From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform assignment." --- include/osg/CameraView | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osg/CameraView b/include/osg/CameraView index ece9a1a40..04212d91f 100644 --- a/include/osg/CameraView +++ b/include/osg/CameraView @@ -58,7 +58,7 @@ class OSG_EXPORT CameraView : public Transform * The cameras field of view can be contrained to either the horizontal or vertex axis of the camera, or unconstrained * in which case the camera/application are left to choose an appropriate field of view. * The default value if 60 degrres. */ - inline void setFieldOfView(double fieldOfView) { _fieldOfView; } + inline void setFieldOfView(double fieldOfView) { _fieldOfView = fieldOfView; } /** Get the field of view.*/ inline double getFieldOfView() const { return _fieldOfView; } @@ -79,7 +79,7 @@ class OSG_EXPORT CameraView : public Transform /** Set the focal length of the camera. * A focal length of 0.0 indicates that the camera/application should determine the focal length. * The default value is 0.0. */ - inline void setFocalLength(double FocalLength) { _focalLength; } + inline void setFocalLength(double focalLength) { _focalLength = focalLength; } /** Get the focal length of the camera.*/ inline double getFocalLength() const { return _focalLength; }