Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CAMP
campvis-public
Commits
4465267b
Commit
4465267b
authored
May 10, 2017
by
Jakob Weiss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed stereocameragenerator.cpp
(cherry picked from commit 00cdb42948e45681b5cde12629f6970b906b0eec)
parent
c908bd58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stereo/processors/stereocameragenerator.cpp
modules/stereo/processors/stereocameragenerator.cpp
+2
-2
No files found.
modules/stereo/processors/stereocameragenerator.cpp
View file @
4465267b
...
...
@@ -81,7 +81,7 @@ namespace campvis {
camera
.
getFocus
()
-
rightVec
,
camera
.
getUpVector
(),
camera
.
getFovy
(),
camera
.
getRatio
(),
nearDist
,
farDist
);
camLeft
.
setFrustum
(
cgt
::
Frustum
(
left
,
right
,
bottom
,
top
,
nearDist
,
farDist
));
cam
Righ
t
.
setProjectionMode
(
cgt
::
Camera
::
FRUSTUM
);
cam
Lef
t
.
setProjectionMode
(
cgt
::
Camera
::
FRUSTUM
);
dataContainer
.
addData
(
p_sourceCameraID
.
getValue
()
+
".left"
,
new
CameraData
(
camLeft
));
dataContainer
.
addData
(
p_sourceCameraID
.
getValue
()
+
".right"
,
new
CameraData
(
camRight
));
...
...
@@ -92,4 +92,4 @@ namespace campvis {
{
}
};
\ No newline at end of file
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment