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.
 
 
 
 
 
 

18 lines
421 B

#include "Facet.h"
/******************
* Constructors *
******************/
// By default, use triangles for facets
Facet::Facet()
: verticesIndLength(3), verticesInd(std::vector<int>()), normal(glm::vec3()), center(glm::vec3())
{}
Facet::Facet(int verticesIndLength_)
: verticesIndLength(verticesIndLength_),
verticesInd(std::vector<int>()),
normal(glm::vec3()),
center(glm::vec3())
{}