diff --git a/libraries/octree/src/ViewFrustum.cpp b/libraries/octree/src/ViewFrustum.cpp index 84746b0425..791ab58541 100644 --- a/libraries/octree/src/ViewFrustum.cpp +++ b/libraries/octree/src/ViewFrustum.cpp @@ -34,10 +34,6 @@ void ViewFrustum::setOrientation(const glm::quat& orientationAsQuaternion) { _direction = glm::vec3(orientationAsQuaternion * glm::vec4(IDENTITY_FRONT, 0.0f)); } -void ViewFrustum::setFieldOfView(float f) { - _fieldOfView = f; -} - // ViewFrustum::calculateViewFrustum() // // Description: this will calculate the view frustum bounds for a given position and direction diff --git a/libraries/octree/src/ViewFrustum.h b/libraries/octree/src/ViewFrustum.h index 3b27fe4eb1..2dbe8b97dc 100644 --- a/libraries/octree/src/ViewFrustum.h +++ b/libraries/octree/src/ViewFrustum.h @@ -51,7 +51,7 @@ public: void setOrthographic(bool orthographic) { _orthographic = orthographic; } void setWidth(float width) { _width = width; } void setHeight(float height) { _height = height; } - void setFieldOfView(float f); + void setFieldOfView(float f) { _fieldOfView = f; } void setAspectRatio(float a) { _aspectRatio = a; } void setNearClip(float n) { _nearClip = n; } void setFarClip(float f) { _farClip = f; }