#5429 pre-allocate some more room for triangles after moving to Tet based MC

This commit is contained in:
Jacob Støren 2020-01-30 15:04:33 +01:00
parent c940472b4c
commit c9dbad78de

View File

@ -544,7 +544,7 @@ void HexGridIntersectionTools::clipPlanarTrianglesWithInPlaneTriangle(const std:
clipTrianglePlanes[1] = createPlaneFromEdgeAndPointInNormalDirection ( tp2, tp3, tp1 );
clipTrianglePlanes[2] = createPlaneFromEdgeAndPointInNormalDirection ( tp3, tp1, tp2 );
#define reserveSize 60
#define reserveSize 100
std::vector<cvf::Vec3d> currentInputTriangleVxes;
currentInputTriangleVxes.reserve(reserveSize);