From a74a8114f47a1199b774ffaa8213ef584ae099d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Tue, 12 May 2015 14:35:35 +0200 Subject: [PATCH] FemGeomGen: Removed obsolete code --- .../RivFemPartGeometryGenerator.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartGeometryGenerator.cpp b/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartGeometryGenerator.cpp index 937bc6cae6..c38c902ee6 100644 --- a/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartGeometryGenerator.cpp +++ b/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartGeometryGenerator.cpp @@ -174,15 +174,8 @@ void RivFemPartGeometryGenerator::computeArrays() const int* localElmNodeIndicesForFace = RigFemTypes::localElmNodeIndicesForFace(eType, lfIdx, &faceNodeCount); if (faceNodeCount == 4) { - #if 0 - ++elmQuadCount; - int quad[4]; - quad[0] = elmNodeIndices[elmLocalFaceIndices[0]]; - quad[1] = elmNodeIndices[elmLocalFaceIndices[1]]; - quad[2] = elmNodeIndices[elmLocalFaceIndices[2]]; - quad[3] = elmNodeIndices[elmLocalFaceIndices[3]]; - #endif - // Needs to get rid of opposite faces + + // Todo: Needs to get rid of opposite faces vertices.push_back(nodeCoordinates[ elmNodeIndices[localElmNodeIndicesForFace[0]] ]); vertices.push_back(nodeCoordinates[ elmNodeIndices[localElmNodeIndicesForFace[1]] ]);