Skip to content

Commit a8466d8

Browse files
author
Haydelj
committed
merged master
1 parent 4b5f0f5 commit a8466d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Interface/Modules/Render/ES/SRCamera.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ namespace SCIRun{
9191
float getFOVY() {return mFOVY;}
9292
float getAspect() {return static_cast<float>(mInterface.getScreenWidthPixels()) /
9393
static_cast<float>(mInterface.getScreenHeightPixels());}
94-
94+
9595
void setLockZoom(bool lock) {lockZoom_ = lock;}
9696
void setLockPanning(bool lock) {lockPanning_ = lock;}
9797
void setLockRotation(bool lock) {lockRotation_ = lock;}

src/Interface/Modules/Render/ES/SRInterface.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ namespace SCIRun {
13701370
// variable.
13711371
gen::StaticScreenDims* dims = mCore.getStaticComponent<gen::StaticScreenDims>();
13721372
float aspect = static_cast<float>(dims->width) / static_cast<float>(dims->height);
1373-
1373+
13741374
// Project onto a orthographic plane with respect to aspect ratio
13751375
glm::mat4 projection = glm::ortho(-aspect/2, aspect/2, -0.5f, 0.5f, 0.0f, 2.0f);
13761376

0 commit comments

Comments
 (0)