Commit 1d88e170 authored by Julian Marcon's avatar Julian Marcon
Browse files

Swap vertices in inverted triangles

parent 7702eef3
......@@ -105,6 +105,7 @@ Triangle::Triangle(ElmtConfig pConf,
{
if (sum > 0.0)
{
swap(m_vertex[1], m_vertex[2]);
reverse(m_edge.begin(), m_edge.end());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment