Added Class Vertex

This commit is contained in:
2006-08-10 00:30:42 -04:00
parent d9f363c6e7
commit f0532b9b20

View File

@@ -3,6 +3,13 @@
namespace OpenArena namespace OpenArena
{ {
class Vertex
{
public:
Vec3f coordinates;
Vec2f textureCoordinates;
};
/*! /*!
* \brief * \brief
* Write brief comment for Triangle here. * Write brief comment for Triangle here.
@@ -20,8 +27,10 @@ namespace OpenArena
public: public:
Texture texture; Texture texture;
uint32 texID; uint32 texID;
Vec3f vertecies[3]; Vertex vertecies[3];
Vec2f texCoords[3]; // Vec3f vertecies[3];
// Vec2f texCoords[3];
Vec3f normal; Vec3f normal;
}; };
}; };