From b0af6f8e14449e8bd49efe94da1041628a549120 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 3 Mar 2008 17:39:02 +0000 Subject: usable models, target_engine --- src/math/plane3f.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/math') 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; }; -- cgit v1.2.3