projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed reflections in VR
[laserbrain_demo]
/
src
/
metascene.h
diff --git
a/src/metascene.h
b/src/metascene.h
index
6987f00
..
0565f3d
100644
(file)
--- a/
src/metascene.h
+++ b/
src/metascene.h
@@
-11,7
+11,8
@@
struct FlatMirror {
struct FlatMirror {
- Plane plane;
+ Plane plane; // plane in local coordinates (original)
+ Plane wplane; // world coords plane (derived, identical to plane if node == 0)
float reflect;
std::vector<Object*> objects;
SceneNode *node;
float reflect;
std::vector<Object*> objects;
SceneNode *node;