summaryrefslogtreecommitdiffstats
path: root/src/ShadowVolume.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ShadowVolume.h')
-rw-r--r--src/ShadowVolume.h5
1 files changed, 5 insertions, 0 deletions
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 <vmmlib/vector.hpp>
+#include <vmmlib/matrix.hpp>
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;