diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
commit | 2fb82920059257fd7ac8e33bfe53de13e7ed53bd (patch) | |
tree | cb8de3a839cb9878d0869d4e436a235346109c16 /source/gameengine/Rasterizer/RAS_FramingManager.cpp | |
parent | c2a1dcf6218cbd56126a5deb1aeaf212d67e54cb (diff) |
style cleanup
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_FramingManager.cpp')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_FramingManager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/gameengine/Rasterizer/RAS_FramingManager.cpp b/source/gameengine/Rasterizer/RAS_FramingManager.cpp index 1cd110f8cc6..53d9b64ab0e 100644 --- a/source/gameengine/Rasterizer/RAS_FramingManager.cpp +++ b/source/gameengine/Rasterizer/RAS_FramingManager.cpp @@ -43,7 +43,7 @@ ComputeDefaultFrustum( const short sensor_fit, const float design_aspect_ratio, RAS_FrameFrustum & frustum -) { +) { float halfSize; float sizeX; float sizeY; @@ -202,7 +202,7 @@ ComputeViewport( { ComputeBestFitViewRect( availableViewport, - design_aspect_ratio, + design_aspect_ratio, viewport ); @@ -260,7 +260,7 @@ ComputeFrustum( RAS_Rect vt; ComputeBestFitViewRect( availableViewport, - design_aspect_ratio, + design_aspect_ratio, vt ); @@ -277,13 +277,13 @@ ComputeFrustum( frustum.y2 *= y_scale; break; - } + } case RAS_FrameSettings::e_frame_scale : case RAS_FrameSettings::e_frame_bars: default : break; } -} +} void RAS_FramingManager:: @@ -330,7 +330,7 @@ RAS_FramingManager:: RAS_Rect vt; ComputeBestFitViewRect( availableViewport, - design_aspect_ratio, + design_aspect_ratio, vt ); @@ -347,7 +347,7 @@ RAS_FramingManager:: frustum.y2 *= y_scale; break; - } + } case RAS_FrameSettings::e_frame_scale : case RAS_FrameSettings::e_frame_bars: default : |