Skip to content
Permalink
Browse files
Add vertex.h
  • Loading branch information
ac7020 committed Sep 27, 2021
1 parent fda02f4 commit 5ed16a8bab36480bd42d8c05dca55afca4fd1c90
Showing 1 changed file with 26 additions and 0 deletions.
@@ -0,0 +1,26 @@
#ifndef VERTEX_H
#define VERTEX_H

#include <glm/glm.hpp>

struct Vertex
{
glm::vec4 coords;
glm::vec2 texCoords;
};

struct VertexWtihNormal
{
glm::vec4 coords;
glm::vec3 normals;
};

struct VertexWithAll
{
glm::vec3 position;
glm::vec3 color;
glm::vec2 textcoord;
glm::vec3 normal;
};

#endif

0 comments on commit 5ed16a8

Please sign in to comment.