From 16cbaaa1a3e9d004d32c7231930625e152ae61bb Mon Sep 17 00:00:00 2001 From: Lolbot Date: Thu, 12 Sep 2013 11:47:21 +0000 Subject: [PATCH] fixed 3 files out of 2793: - removed 58 CR characters - removed 8 trailing whitespaces - replaced 2 tabs with spaces - fixed 1 svn:eol-style properties --- src/camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/camera.cpp b/src/camera.cpp index 533a4e0d..9b045ebd 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -224,13 +224,13 @@ quat Camera::GetRotation() // Calculate the frustum height at a given distance from the camera. float Camera::GetFrustumHeightAtDistance(float distance, float fov) { - return 2.f * distance * lol::tan(fov * .5f * (F_PI / 180.f)); + return 2.f * distance * lol::tan(fov * .5f * (F_PI / 180.f)); } // Calculate the FOV needed to get a given frustum height at a given distance. float Camera::GetFOVForHeightAndDistance(float distance, float height) { - return 2.f * lol::atan(height * .5f / distance) * (180.f / F_PI); + return 2.f * lol::atan(height * .5f / distance) * (180.f / F_PI); } void Camera::TickGame(float seconds)