You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
616 B

#ifndef VERTEX_H
#define VERTEX_H
#include "ExternalLib/glm/vec3.hpp"
/*************************************************************
* Vertex : Each vertex has at least a position and a normal *
* For any more additional vertex informations *
* create another BufferObject *
* and link it to the Object *
*************************************************************/
class Vertex
{
public:
glm::vec3 position;
glm::vec3 normal;
Vertex (){}
Vertex (glm::vec3 position_, glm::vec3 normal_);
};
#endif /* VERTEX_H */