projects
/
libs
/
vr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the StereoCombiner information interface more flexible
[libs/vr.git]
/
source
/
sidebysidecombiner.cpp
diff --git
a/source/sidebysidecombiner.cpp
b/source/sidebysidecombiner.cpp
index 213b5448249b894736d392e55c741235d10e438b..c5aef041ecf3f123501d9fc062d5c497f1abe1de 100644
(file)
--- a/
source/sidebysidecombiner.cpp
+++ b/
source/sidebysidecombiner.cpp
@@
-30,7
+30,8
@@
SideBySideCombiner::SideBySideCombiner(bool c):
mesh(GL::VERTEX2),
shprog(vs_source, fs_source)
{
- width_div = 2;
+ width_factor = 0.5f;
+ aspect_factor = 0.5f;
left_shdata.uniform("texture", 0);
right_shdata.uniform("texture", 0);