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

*** empty log message ***

parent 613589af
Branches
Tags
No related merge requests found
// $Id: gl2ps.cpp,v 1.8 2001-02-16 20:16:40 remacle Exp $ // $Id: gl2ps.cpp,v 1.9 2001-02-26 09:02:59 geuzaine Exp $
/* /*
* GL2PS, an OpenGL to Postscript Printing Library, version 0.31 * GL2PS, an OpenGL to Postscript Printing Library, version 0.31
...@@ -722,7 +722,7 @@ GLvoid gl2psAddBoundaryInList(GL2PSprimitive *prim, GL2PSlist *list){ ...@@ -722,7 +722,7 @@ GLvoid gl2psAddBoundaryInList(GL2PSprimitive *prim, GL2PSlist *list){
c[1] /= prim->numverts; c[1] /= prim->numverts;
for(i=0 ; i<prim->numverts ; i++){ for(i=0 ; i<prim->numverts ; i++){
if(prim->boundary & (GLint)pow(2, i)){ if(prim->boundary & (GLint)pow(2., i)){
b = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); b = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive));
b->type = GL2PS_LINE; b->type = GL2PS_LINE;
b->dash = prim->dash; b->dash = prim->dash;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment