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>2009-08-10 22:32:36 +0000
committerStijn Buys <ingar@osirion.org>2009-08-10 22:32:36 +0000
commitbd142a328328cdf0cbfbb59e4e0aa99dd51184b8 (patch)
treec2ed4e832e60b379723ea3f530c5b192bec0da61 /src/model/fragment.h
parentbbd04914749b2e3918796fe331daf649b06163ea (diff)
initial texture support for ase models
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