diff --git a/Geo/MTetrahedron.cpp b/Geo/MTetrahedron.cpp index 5fafeb0fd69a52c175914f764f5a024213b6abf4..cd16f40c0e8eca8ef73b4e5e98d636d962b024da 100644 --- a/Geo/MTetrahedron.cpp +++ b/Geo/MTetrahedron.cpp @@ -188,10 +188,10 @@ int MTetrahedron10::getNumFacesRep(bool curved) } static void _myGetFaceRep(MTetrahedron *tet, int num, double *x, double *y, double *z, - SVector3 *n, int numSubEdges) + SVector3 *n , int numSubEdges) { static double pp[4][3] = {{0,0,0},{1,0,0},{0,1,0},{0,0,1}}; - static int fak [4][3] = {{0,1,2},{0,1,3},{0,2,3},{1,2,3}}; + static int fak [4][3] = {{0,2,1},{0,1,3},{0,3,2},{1,2,3}}; int iFace = num / (numSubEdges * numSubEdges); int iSubFace = num % (numSubEdges * numSubEdges);