From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform

assignment."
This commit is contained in:
Robert Osfield 2005-10-26 16:02:24 +00:00
parent be07f48884
commit 026fba54b4

View File

@ -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 * 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. * in which case the camera/application are left to choose an appropriate field of view.
* The default value if 60 degrres. */ * The default value if 60 degrres. */
inline void setFieldOfView(double fieldOfView) { _fieldOfView; } inline void setFieldOfView(double fieldOfView) { _fieldOfView = fieldOfView; }
/** Get the field of view.*/ /** Get the field of view.*/
inline double getFieldOfView() const { return _fieldOfView; } inline double getFieldOfView() const { return _fieldOfView; }
@ -79,7 +79,7 @@ class OSG_EXPORT CameraView : public Transform
/** Set the focal length of the camera. /** Set the focal length of the camera.
* A focal length of 0.0 indicates that the camera/application should determine the focal length. * A focal length of 0.0 indicates that the camera/application should determine the focal length.
* The default value is 0.0. */ * 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.*/ /** Get the focal length of the camera.*/
inline double getFocalLength() const { return _focalLength; } inline double getFocalLength() const { return _focalLength; }