Commit 0411c565 by Jan Möbius

Merge branch 'fix_HalfedgeLoopCCWIter' into 'master'

Fix halfedge loop ccw iter

Closes #39

See merge request !128
2 parents 9d419fd6 1f331456
Pipeline #4416 passed
in 44 minutes 1 second
......@@ -192,12 +192,12 @@ public:
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle>
HalfedgeLoopIter;
typedef Iterators::GenericCirculatorT<This, This::FaceHandle, This::HalfedgeHandle,
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle> HalfedgeLoopCWIter;
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle, false> HalfedgeLoopCWIter;
/**
* Identical to #FaceHalfedgeIter. God knows why this typedef exists.
*/
typedef Iterators::GenericCirculatorT<This, This::FaceHandle, This::HalfedgeHandle,
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle, false>
&Iterators::GenericCirculatorBaseT<This>::toHalfedgeHandle>
HalfedgeLoopCCWIter;
typedef VertexVertexIter ConstVertexVertexIter;
......
......@@ -287,7 +287,7 @@ TEST_F(OpenMeshTrimeshCirculatorHalfedgeLoop, CWAndCCWCheck) {
*/
int indices[4] = {3, 8, 6, 3};
int indices[4] = {3, 6, 8, 3};
int rev_indices[4];
std::reverse_copy(indices,indices+4,rev_indices);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!