diff --git a/Graphics/Geom.cpp b/Graphics/Geom.cpp index ab1ccd0522d08300c1941f330498f49379e70775..45a6f1907c8ea95b83b1398d306b524f3b5a6c43 100644 --- a/Graphics/Geom.cpp +++ b/Graphics/Geom.cpp @@ -1,4 +1,4 @@ -// $Id: Geom.cpp,v 1.50 2004-02-28 00:48:49 geuzaine Exp $ +// $Id: Geom.cpp,v 1.51 2004-03-04 18:05:43 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -506,8 +506,10 @@ void Draw_NonPlane_Surface(Surface * s) if(CTX.geom.light) glEnable(GL_LIGHTING); GLUnurbsObj *nurb; nurb = gluNewNurbsRenderer(); +#if defined(GLU_VERSION_1_3) gluNurbsProperty(nurb, (GLenum) GLU_SAMPLING_TOLERANCE, 50.0); gluNurbsProperty(nurb, (GLenum) GLU_DISPLAY_MODE, GLU_FILL); +#endif gluBeginSurface(nurb); gluNurbsSurface(nurb, s->Nu + s->OrderU + 1, s->ku, s->Nv + s->OrderV + 1, s->kv, 4, 4 * s->Nu, s->cp, diff --git a/doc/VERSIONS b/doc/VERSIONS index c6040da26c6909ccff2bac66278d7dfdde5740ed..cfa8e70a2fb2a88755963553406dbab3d39b4ef0 100644 --- a/doc/VERSIONS +++ b/doc/VERSIONS @@ -1,4 +1,6 @@ -$Id: VERSIONS,v 1.186 2004-02-28 00:48:57 geuzaine Exp $ +$Id: VERSIONS,v 1.187 2004-03-04 18:05:43 geuzaine Exp $ + +New since 1.51: small bug fixes New in 1.51: initial support for visualizing mesh partitions; integrated version 2.0 of the MSH mesh file format; new option to