Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-03 17:39:02 +0000
committerStijn Buys <ingar@osirion.org>2008-03-03 17:39:02 +0000
commitb0af6f8e14449e8bd49efe94da1041628a549120 (patch)
treeaea4b9f1930af1b89e96d05832bc8559fae0a7f0 /src/math
parente379b1bfeb231716e07f0e4ae9ef024be9bfd08f (diff)
usable models, target_engine
Diffstat (limited to 'src/math')
-rw-r--r--src/math/plane3f.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math/plane3f.h b/src/math/plane3f.h
index ddaef16..02037d2 100644
--- a/src/math/plane3f.h
+++ b/src/math/plane3f.h
@@ -29,7 +29,8 @@ public:
/// the points defining the plane.
/// @param i 0 <= i < 3
inline Vector3f const & point(size_t i) const { return plane_point[i]; }
-
+ /// plane texture
+ inline std::string & texture() { return plane_texture; }
/// first parameter of the general equation
inline float a() const { return plane_normal[0]; }
/// second parameter of the general equation
@@ -42,6 +43,7 @@ public:
private:
Vector3f plane_point[3];
Vector3f plane_normal;
+ std::string plane_texture;
float pd;
};