Added Class Vertex
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user