diff options
Diffstat (limited to 'vertex.hpp')
-rw-r--r-- | vertex.hpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/vertex.hpp b/vertex.hpp deleted file mode 100644 index 3f6514b..0000000 --- a/vertex.hpp +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef VERTEX_H -#define VERTEX_H - -#include <glm/glm.hpp> - -class Vertex { -public: - Vertex(glm::vec3 pos, glm::vec2 texCoord, glm::vec3 normal) : - pos {std::move(pos)}, texCoord {std::move(texCoord)}, normal {std::move(normal)} - { - } - - glm::vec3 & - GetPos() - { - return pos; - } - - glm::vec2 & - GetTexCoord() - { - return texCoord; - } - - glm::vec3 & - GetNormal() - { - return normal; - } - -private: - glm::vec3 pos; - glm::vec2 texCoord; - glm::vec3 normal; -}; -#endif |