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-24 15:38:07 +0000
committerStijn Buys <ingar@osirion.org>2008-05-24 15:38:07 +0000
commit00464c237fbd3a01137099dedf23dc44569472fd (patch)
treecc6ccf2bc4f8279b240ae20d4d26c4572029e083 /src/model/plane.h
parent8017d60e4906a27c1dc82933593c3d5fd1c0bed4 (diff)
surface flags: light
Diffstat (limited to 'src/model/plane.h')
-rw-r--r--src/model/plane.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/plane.h b/src/model/plane.h
index 5fdc99f..5a8e6b6 100644
--- a/src/model/plane.h
+++ b/src/model/plane.h
@@ -43,12 +43,15 @@ public:
inline float d() const { return pd; }
/// indidcates if this plane was generated from a detail brush
inline bool & detail() { return plane_detail; }
+ /// surface flags
+ inline unsigned int & surface_flags() { return plane_surface_flags; }
private:
math::Vector3f plane_point[3];
math::Vector3f plane_normal;
std::string plane_texture;
+ unsigned int plane_surface_flags;
bool plane_detail;
float pd;
};