Skip to content
Snippets Groups Projects
Commit 863fe40f authored by Amaury Johnen's avatar Amaury Johnen
Browse files

fix visualization of curved tetrahedra

parent 84cf6100
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment