projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed bug in mirror matching
[laserbrain_demo]
/
src
/
app.cc
diff --git
a/src/app.cc
b/src/app.cc
index
ee9b5e6
..
21e8acc
100644
(file)
--- a/
src/app.cc
+++ b/
src/app.cc
@@
-183,6
+183,11
@@
bool app_init(int argc, char **argv)
if(!rend->init()) {
return false;
}
+ if(opt.reflect) {
+ rend->ropt |= RENDER_MIRRORS;
+ } else {
+ rend->ropt &= ~RENDER_MIRRORS;
+ }
rend->set_scene(mscn);
glUseProgram(0);