/[escript]/trunk/doc/examples/pyvisi/rectangle.py
ViewVC logotype

Diff of /trunk/doc/examples/pyvisi/rectangle.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1205 by jongui, Fri Jun 29 04:44:04 2007 UTC revision 1206 by jongui, Fri Jun 29 06:09:19 2007 UTC
# Line 36  rect1.setCenter(GlobalPosition(1.5,1.5,0 Line 36  rect1.setCenter(GlobalPosition(1.5,1.5,0
36  rect1.setXLength(3)  rect1.setXLength(3)
37  rect1.setYLength(1)  rect1.setYLength(1)
38  rect1.setZLength(0.3)  rect1.setZLength(0.3)
39    rect1.setColor(Color.GREY)
40    
41  # Create a Camera for the first viewport  # Create a Camera for the first viewport
42  c1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST)  c1 = Camera(scene = s, viewport = Viewport.SOUTH_WEST)

Legend:
Removed from v.1205  
changed lines
  Added in v.1206

  ViewVC Help
Powered by ViewVC 1.1.26