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-03-06 22:59:40 +0000
committerStijn Buys <ingar@osirion.org>2008-03-06 22:59:40 +0000
commitdf61a28d708c30e3e77d1f739dfb4561c042c89c (patch)
treed280b5eef345ea80f78f9d41df3c2367c9a88cd5 /src/core/face.h
parent6ade6c1c346743b8432600485e28682e276cfbd0 (diff)
moved render::Model to core::Model
Diffstat (limited to 'src/core/face.h')
-rw-r--r--src/core/face.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/core/face.h b/src/core/face.h
deleted file mode 100644
index a0a4d5a..0000000
--- a/src/core/face.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- render/face.h
- This file is part of the Osirion project and is distributed under
- the terms of the GNU General Public License version 2
-*/
-
-#ifndef __INCLUDED_RENDER_FACE_H__
-#define __INCLUDED_RENDER_FACE_H__
-
-#include <vector>
-
-#include "math/mathlib.h"
-
-namespace render {
-
-/// one face (polygon) of a model
-class Face {
-public:
- Face(math::Vector3f const & normal, math::Color const *color=0);
- ~Face();
-
- /// the normal of this face
- inline math::Vector3f const & normal() const { return face_normal; };
-
- /// the color of this face
- inline math::Color const *color() const { return face_color; };
-
- /// add a vertex to the face
- void add_vertex(math::Vector3f const &vertex);
-
- /// draw the polygon
- void draw();
-
-private:
- math::Vector3f face_normal;
- math::Color *face_color;
- std::vector<math::Vector3f *> face_vertex;
-};
-
-}
-
-#endif // __INCLUDED_RENDER_FACE_H__
-