[Python-checkins] CVS: python/dist/src/Demo/sgi/gl nurbs.py,1.3,1.4

Guido van Rossum guido@cnri.reston.va.us
Fri, 25 Feb 2000 06:46:53 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Demo/sgi/gl
In directory eric:/projects/python/develop/guido/src/Demo/sgi/gl

Modified Files:
	nurbs.py 
Log Message:
Fix a couple dozen broken ci.append(x, y, z) calls, spotted by Tim.


Index: nurbs.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Demo/sgi/gl/nurbs.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** nurbs.py	1996/11/27 19:49:54	1.3
--- nurbs.py	2000/02/25 11:46:50	1.4
***************
*** 24,52 ****
  	#
  	ci = []
! 	ci.append(-2.5,  -3.7,  1.0)
! 	ci.append(-1.5,  -3.7,  3.0)
! 	ci.append(1.5,  -3.7, -2.5)
! 	ci.append(2.5,  -3.7,  -0.75)
  	c.append(ci)
  	#
  	ci = []
! 	ci.append(-2.5,  -2.0,  3.0)
! 	ci.append(-1.5,  -2.0,  4.0)
! 	ci.append(1.5,  -2.0,  -3.0)
! 	ci.append(2.5,  -2.0,  0.0)
  	c.append(ci)
  	#
  	ci = []
! 	ci.append(-2.5, 2.0,  1.0)
! 	ci.append(-1.5, 2.0,  0.0)
! 	ci.append(1.5,  2.0,  -1.0)
! 	ci.append(2.5,  2.0,  2.0)
  	c.append(ci)
  	#
  	ci = []
! 	ci.append(-2.5,  2.7,  1.25)
! 	ci.append(-1.5,  2.7,  0.1)
! 	ci.append(1.5,  2.7,  -0.6)
! 	ci.append(2.5,  2.7,  0.2)
  	c.append(ci)
  	#
--- 24,52 ----
  	#
  	ci = []
! 	ci.append((-2.5,  -3.7,  1.0))
! 	ci.append((-1.5,  -3.7,  3.0))
! 	ci.append((1.5,  -3.7, -2.5))
! 	ci.append((2.5,  -3.7,  -0.75))
  	c.append(ci)
  	#
  	ci = []
! 	ci.append((-2.5,  -2.0,  3.0))
! 	ci.append((-1.5,  -2.0,  4.0))
! 	ci.append((1.5,  -2.0,  -3.0))
! 	ci.append((2.5,  -2.0,  0.0))
  	c.append(ci)
  	#
  	ci = []
! 	ci.append((-2.5, 2.0,  1.0))
! 	ci.append((-1.5, 2.0,  0.0))
! 	ci.append((1.5,  2.0,  -1.0))
! 	ci.append((2.5,  2.0,  2.0))
  	c.append(ci)
  	#
  	ci = []
! 	ci.append((-2.5,  2.7,  1.25))
! 	ci.append((-1.5,  2.7,  0.1))
! 	ci.append((1.5,  2.7,  -0.6))
! 	ci.append((2.5,  2.7,  0.2))
  	c.append(ci)
  	#
***************
*** 59,71 ****
  def make_trimpoints():
  	c = []
! 	c.append(1.0, 0.0, 1.0)
! 	c.append(1.0, 1.0, 1.0)
! 	c.append(0.0, 2.0, 2.0)
! 	c.append(-1.0, 1.0, 1.0)
! 	c.append(-1.0, 0.0, 1.0)
! 	c.append(-1.0, -1.0, 1.0)
! 	c.append(0.0, -2.0, 2.0)
! 	c.append(1.0, -1.0, 1.0) 
! 	c.append(1.0, 0.0, 1.0)
  	return c
  
--- 59,71 ----
  def make_trimpoints():
  	c = []
! 	c.append((1.0, 0.0, 1.0))
! 	c.append((1.0, 1.0, 1.0))
! 	c.append((0.0, 2.0, 2.0))
! 	c.append((-1.0, 1.0, 1.0))
! 	c.append((-1.0, 0.0, 1.0))
! 	c.append((-1.0, -1.0, 1.0))
! 	c.append((0.0, -2.0, 2.0))
! 	c.append((1.0, -1.0, 1.0) )
! 	c.append((1.0, 0.0, 1.0))
  	return c