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

don't require gl2ps
parent d2bafc69
No related branches found
No related tags found
No related merge requests found
// $Id: CutPlane.cpp,v 1.41 2004-12-28 17:24:25 geuzaine Exp $
// $Id: CutPlane.cpp,v 1.42 2004-12-28 17:25:44 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -63,7 +63,6 @@ void GMSH_CutPlanePlugin::draw()
Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, num);
if(!vv) return;
glLineWidth(CTX.line_width);
gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor);
Draw_PlaneInBoundingBox((*vv)->BBox[0], (*vv)->BBox[2], (*vv)->BBox[4],
(*vv)->BBox[1], (*vv)->BBox[3], (*vv)->BBox[5],
CutPlaneOptions_Number[0].def,
......
// $Id: CutSphere.cpp,v 1.38 2004-12-28 17:24:25 geuzaine Exp $
// $Id: CutSphere.cpp,v 1.39 2004-12-28 17:25:44 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -68,7 +68,6 @@ void GMSH_CutSpherePlugin::draw()
glPushMatrix();
glColor4ubv((GLubyte *) & CTX.color.fg);
glLineWidth(CTX.line_width);
gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor);
glTranslated(CutSphereOptions_Number[0].def,
CutSphereOptions_Number[1].def,
CutSphereOptions_Number[2].def);
......
// $Id: Probe.cpp,v 1.4 2004-12-28 17:24:25 geuzaine Exp $
// $Id: Probe.cpp,v 1.5 2004-12-28 17:25:44 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -67,7 +67,6 @@ void GMSH_ProbePlugin::draw()
double z = ProbeOptions_Number[2].def;
glColor4ubv((GLubyte *) & CTX.color.fg);
glLineWidth(CTX.line_width);
gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor);
if(x >= v->BBox[0] && x <= v->BBox[1] &&
y >= v->BBox[2] && y <= v->BBox[3] &&
z >= v->BBox[4] && z <= v->BBox[5]){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment