break everything

This commit is contained in:
2021-10-02 20:47:02 +02:00
parent 63074306c2
commit d74f80530b
16 changed files with 338 additions and 169 deletions

23
src/util.h Normal file
View File

@ -0,0 +1,23 @@
#ifndef UTIL_H
#define UTIL_H
#include "my_mesh.h"
class HalfedgeLoopRange {
MyMesh &mesh;
const HalfedgeHandle &start;
public:
HalfedgeLoopRange(MyMesh &mesh, const HalfedgeHandle &start)
:mesh(mesh), start(start) {}
MyMesh::HalfedgeLoopIter begin() {
return mesh.hl_begin(start);
}
MyMesh::HalfedgeLoopIter end() {
return mesh.hl_end(start);
}
};
#endif