1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0029958: Visualization - add method Graphic3d_ArrayOfPrimitives::AddEdges() taking up to 4 edges

This commit is contained in:
kgv
2018-07-14 13:59:22 +03:00
committed by bugmaster
parent 6f26baa0fc
commit fb60181a3a
3 changed files with 38 additions and 9 deletions

View File

@@ -268,9 +268,9 @@ namespace
aV1.Cross (aV2);
if (aV1.SquareMagnitude() > aPreci)
{
anArray->AddEdge (anIndex[0] + aDecal);
anArray->AddEdge (anIndex[1] + aDecal);
anArray->AddEdge (anIndex[2] + aDecal);
anArray->AddEdges (anIndex[0] + aDecal,
anIndex[1] + aDecal,
anIndex[2] + aDecal);
}
}
}