Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/fragment.h')
-rw-r--r--src/model/fragment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/fragment.h b/src/model/fragment.h
index e975734..9d992e1 100644
--- a/src/model/fragment.h
+++ b/src/model/fragment.h
@@ -11,6 +11,7 @@
#include "math/axis.h"
#include "math/vector3f.h"
+#include "math/vector2f.h"
#include "model/material.h"
namespace model
@@ -28,6 +29,9 @@ public:
/// add a vertex to the fragment
size_t add_vertex(math::Vector3f const & vertex, math::Vector3f const &normal, bool detail);
+
+ /// add a vertex to the fragment
+ size_t add_vertex(math::Vector3f const & vertex, math::Vector3f const &normal, math::Vector2f const &texcoord, bool detail);
/// the type of primitives this fragment consists of
inline Type type() const