summaryrefslogtreecommitdiffstats
path: root/src/ShadowVolume.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-24 02:47:35 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-24 02:47:35 +0100
commit6d3965b35edf5f03cd065d42af31867acf1f4637 (patch)
tree7a7471579acc58746e1dc118628399ef30b08b4e /src/ShadowVolume.h
parentb7cb3463543b01e8faa13c01bcee17c44beba586 (diff)
downloadzoom++-6d3965b35edf5f03cd065d42af31867acf1f4637.tar
zoom++-6d3965b35edf5f03cd065d42af31867acf1f4637.zip
Make shadow volumes visible
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;