Skip to content
Snippets Groups Projects
Commit d7ad3f68 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent d84d537a
No related branches found
No related tags found
No related merge requests found
/* $Id: Mesh.cpp,v 1.6 2000-11-26 15:43:46 geuzaine Exp $ */ /* $Id: Mesh.cpp,v 1.7 2000-11-28 08:35:03 geuzaine Exp $ */
#include "Gmsh.h" #include "Gmsh.h"
#include "GmshUI.h" #include "GmshUI.h"
...@@ -51,14 +51,12 @@ static int DrawVertexSupp ; ...@@ -51,14 +51,12 @@ static int DrawVertexSupp ;
void Draw_Mesh (Mesh *M) { void Draw_Mesh (Mesh *M) {
InitPosition(); if(CTX.mesh.shade)
if(CTX.mesh.shade){
InitShading(); InitShading();
} else
else{
InitNoShading(); InitNoShading();
}
InitPosition();
if(CTX.clip[0]) glClipPlane(GL_CLIP_PLANE0, CTX.clip_plane0); if(CTX.clip[0]) glClipPlane(GL_CLIP_PLANE0, CTX.clip_plane0);
if(CTX.clip[1]) glClipPlane(GL_CLIP_PLANE1, CTX.clip_plane1); if(CTX.clip[1]) glClipPlane(GL_CLIP_PLANE1, CTX.clip_plane1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment