X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fmetascene.h;h=0565f3d901b2d783420a83532fdb78b1cd2c958e;hp=0417c00d0b97041e18b072a7f8983410721f3c50;hb=9480e20f4de41693ebd1f22e63d3bcecde878f70;hpb=0d27f859021b4af5dbb5404ef5af012546abf335 diff --git a/src/metascene.h b/src/metascene.h index 0417c00..0565f3d 100644 --- a/src/metascene.h +++ b/src/metascene.h @@ -11,9 +11,11 @@ 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 objects; + std::vector objects; + SceneNode *node; FlatMirror *next; }; @@ -32,7 +34,6 @@ public: std::map scndata; FlatMirror *mirrors; - int num_mirrors; std::map objmirror; AudioStream *music;