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; }