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

*** empty log message ***

parent aed12f59
Branches
Tags
No related merge requests found
// $Id: Geom.cpp,v 1.93 2005-10-10 16:16:50 geuzaine Exp $ // $Id: Geom.cpp,v 1.94 2005-10-15 19:49:21 geuzaine Exp $
// //
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
// //
...@@ -162,8 +162,7 @@ void Draw_Curve(void *a, void *b) ...@@ -162,8 +162,7 @@ void Draw_Curve(void *a, void *b)
glVertex3d(e->p2->X,e->p2->Y,e->p2->Z); glVertex3d(e->p2->X,e->p2->Y,e->p2->Z);
glEnd(); glEnd();
} }
else else{
{
x[0] = e->p1->X; x[0] = e->p1->X;
y[0] = e->p1->Y; y[0] = e->p1->Y;
z[0] = e->p1->Z; z[0] = e->p1->Z;
...@@ -348,9 +347,7 @@ void Draw_Polygonal_Surface(Surface * s) ...@@ -348,9 +347,7 @@ void Draw_Polygonal_Surface(Surface * s)
if(CTX.geom.surfaces) { if(CTX.geom.surfaces) {
if(CTX.geom.light) glEnable(GL_LIGHTING); if(CTX.geom.light) glEnable(GL_LIGHTING);
glEnable(GL_POLYGON_OFFSET_FILL); // always! glEnable(GL_POLYGON_OFFSET_FILL); // always!
BDS_GeomEntity *g = THEM->bds->get_geom ( s->Num,2); BDS_GeomEntity *g = THEM->bds->get_geom ( s->Num,2);
// if (g->surf) glColor4ubv((GLubyte *) & CTX.color.geom.line);
std::list<BDS_Triangle*>::iterator it = g->t.begin(); std::list<BDS_Triangle*>::iterator it = g->t.begin();
std::list<BDS_Triangle*>::iterator ite = g->t.end(); std::list<BDS_Triangle*>::iterator ite = g->t.end();
while (it!=ite) { while (it!=ite) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment