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>2008-05-04 22:30:49 +0000
committerStijn Buys <ingar@osirion.org>2008-05-04 22:30:49 +0000
commit7218e3bd4616d4706090ec47d72845a2bb89c6a3 (patch)
treecbf3fdb0dddf573edff89b50af22e8a84690cf00 /src/model/light.h
parent33e45d8052b385aa8b1fce68122c8d11f50e7e42 (diff)
split map reading from models
Diffstat (limited to 'src/model/light.h')
-rw-r--r--src/model/light.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/model/light.h b/src/model/light.h
index e202d21..9605497 100644
--- a/src/model/light.h
+++ b/src/model/light.h
@@ -16,7 +16,10 @@ namespace model {
class Light
{
public:
+ Light();
+
Light(math::Vector3f const & location, math::Color const & color, bool strobe=false);
+
~Light();
inline math::Vector3f const & location() const { return light_location; }
@@ -39,7 +42,7 @@ public:
inline float time() const { return light_time; }
/// flare texture number
- inline size_t flare() const { return light_flare; }
+ inline unsigned int flare() const { return light_flare; }
/// render texture number
inline size_t texture() const { return render_texture; }
@@ -52,7 +55,7 @@ public:
float light_offset;
float light_time;
- size_t light_flare;
+ unsigned int light_flare;
size_t render_texture;
};