simple ubershader system, reflection debugging
[laserbrain_demo] / src / metascene.h
index 6987f00..0565f3d 100644 (file)
@@ -11,7 +11,8 @@
 
 
 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;