Fresco/Berlin/test/nurbs Makefile.in,1.1,1.2 fresco-curve.cc,1.1,1.2

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/test/nurbs
In directory purcel:/tmp/cvs-serv10923/test/nurbs

Modified Files:
	Makefile.in fresco-curve.cc 
Log Message:
little fixes and integration into the build system

Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/test/nurbs/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.in	25 Apr 2003 16:48:32 -0000	1.1
+++ Makefile.in	25 Apr 2003 18:41:14 -0000	1.2
@@ -28,10 +28,9 @@
 
 include $(cdir)/local.mk
 
-CPPFLAGS	+= @CPPFLAGS@
-LDFLAGS		+= -L ../../lib
-LIBS		+= -lPrague @LIBS@
-LIBS	:= -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 -lm
+CPPFLAGS	+= @GL_CPPFLAGS@
+LDFLAGS	+= -L ../../lib
+LIBS	+= @GL_LIBS@ -lglut
 
 TARGETS	:= circle curve surface volume fresco-curve
 

Index: fresco-curve.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/test/nurbs/fresco-curve.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fresco-curve.cc	25 Apr 2003 16:48:32 -0000	1.1
+++ fresco-curve.cc	25 Apr 2003 18:41:14 -0000	1.2
@@ -24,11 +24,6 @@
 #include <cstdlib>
 #include <time.h>
 
-struct Vertex
-{
-  double x, y, z;
-};
-
 #include <Berlin/nurbs/Vertex.hh>
 #include <Berlin/nurbs/domain.hh>
 #include <Berlin/nurbs/nurbs.hh>
@@ -40,6 +35,7 @@
 const unsigned int PARAMS = 1;
 const unsigned int CTRLPOINTS = 10;
 
+using namespace Fresco;
 using namespace Berlin::nurbs;
 
 typedef Vertex Vector;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.