From e7f7ca4b3f5f7131bb9aec0d184f6da4f5c62ce5 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 19 Apr 2011 15:59:55 -0400 Subject: [PATCH] add VertexRef --- WFObj.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/WFObj.h b/WFObj.h index cdba484..ff2052a 100644 --- a/WFObj.h +++ b/WFObj.h @@ -72,6 +72,15 @@ protected: float data[4]; }; + class VertexRef + { + public: + VertexRef() : vertex(0), texture(0), normal(0) {} + int vertex; + int texture; + int normal; + }; + /* methods */ void clear(); void processInputLine(const std::string & input);