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.
 
 
 
 
 
 

25 lines
786 B

#ifndef FACET_H
#define FACET_H
#include <vector>
#include "ExternalLib/glm/vec3.hpp"
/**************************************************************
* Camera : Camera is sotring every information needed to *
* "create a camera", including its position, its *
* rotation, direction, view and projection matrices *
**************************************************************/
class Facet
{
public:
int verticesIndLength; // by default should be 3 => storing triangles
std::vector<int> verticesInd; // indices of Vertex
glm::vec3 normal; // facet normal
glm::vec3 center; // center of triangle
/***** Constructors *****/
Facet();
Facet(int verticesIndLength_);
};
#endif /* FACET_H */