Fresco/Berlin/modules/Figures Figures.cc,1.14,1.15

Tobias Hunger <[email protected]> Tue, 09 Dec 2003 20:34:43 +0000
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Figures
In directory purcel:/tmp/cvs-serv6380/Berlin/modules/Figures

Modified Files:
	Figures.cc 
Log Message:
Make sure the z-coordinate of any vertex passed into the FigureKit is
ignored and set to 0 (as per documentation).


Index: Figures.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Figures/Figures.cc,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Figures.cc	9 Dec 2003 17:53:04 -0000	1.14
+++ Figures.cc	9 Dec 2003 20:34:40 -0000	1.15
@@ -77,6 +77,7 @@
 {
     Vertex v2 =  pt2();
     my_path->nodes[0] = v1;
+    my_path->nodes[0].z = 0;
     my_path->nodes[1].x = v1.x;
     my_path->nodes[1].y = v2.y;
     my_path->nodes[3].x = v2.x;
@@ -89,6 +90,7 @@
 {
     Vertex v1 =  pt1();
     my_path->nodes[2] = v2;
+    my_path->nodes[2].z = 0;
     my_path->nodes[1].x = v1.x;
     my_path->nodes[1].y = v2.y;
     my_path->nodes[3].x = v2.x;