Skip to content

Instantly share code, notes, and snippets.

@cjameshuff
Created November 26, 2014 15:36
Show Gist options
  • Save cjameshuff/5c043a079189fe5a8562 to your computer and use it in GitHub Desktop.
Save cjameshuff/5c043a079189fe5a8562 to your computer and use it in GitHub Desktop.
qeg.GenerateFromFaces(faces.size(), vertices.size(),
[this](ind_t faceIdx, ind_t & a, ind_t & b, ind_t & c){
auto & face = faces[faceIdx];
a = face.vertices[0];
b = face.vertices[1];
c = face.vertices[2];
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment