From 6d3965b35edf5f03cd065d42af31867acf1f4637 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 24 Dec 2009 02:47:35 +0100 Subject: Make shadow volumes visible --- src/ShadowVolume.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ShadowVolume.h') diff --git a/src/ShadowVolume.h b/src/ShadowVolume.h index e33e19c..81a0a33 100644 --- a/src/ShadowVolume.h +++ b/src/ShadowVolume.h @@ -21,6 +21,7 @@ #define ZOOM_SHADOWVOLUME_H_ #include +#include namespace Zoom { @@ -39,7 +40,11 @@ class ShadowVolume { return rays[i].dir; } + void render() const; + private: + bool visible; + struct Ray { vmml::vec3f p; vmml::vec3f dir; -- cgit v1.2.3