From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform
assignment."
This commit is contained in:
parent
be07f48884
commit
026fba54b4
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user