Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-02-28 20:46:53 +0000
committerStijn Buys <ingar@osirion.org>2015-02-28 20:46:53 +0000
commitcffe02f49b66a70d40816ffc8dea42f9e52da57f (patch)
tree110471c23944d09899d4cacb3cdd40508f359f72 /src/render/dust.h
parent26c8cf4d74062fb12871ae9d5298d8ceaab7a2cf (diff)
Reimplemented camera handling enabling 360-degree freelook.
Diffstat (limited to 'src/render/dust.h')
-rw-r--r--src/render/dust.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/dust.h b/src/render/dust.h
index 4653550..a42cb25 100644
--- a/src/render/dust.h
+++ b/src/render/dust.h
@@ -7,6 +7,9 @@
#ifndef __INCLUDED_RENDER_DUST_H__
#define __INCLUDED_RENDER_DUST_H__
+#include "math/color.h"
+#include "render/camera.h"
+
namespace render
{
@@ -19,7 +22,7 @@ public:
static void shutdown();
- static void draw(math::Color const &dustcolor);
+ static void draw(const Camera &camera, const math::Color &dustcolor);
static void reset();
};