/[gzz]/gzz/gfx/demo/fisheye.py
ViewVC logotype

Diff of /gzz/gfx/demo/fisheye.py

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

revision 1.19 by jvk, Wed Sep 18 12:26:24 2002 UTC revision 1.20 by jvk, Fri Sep 20 13:04:36 2002 UTC
# Line 159  class FisheyeScene: Line 159  class FisheyeScene:
159    
160          cs1 = vs.coords.affineCoordsys(0, "1", 10, px, py, 400 * ps, 0, 0, 400 * ps)          cs1 = vs.coords.affineCoordsys(0, "1", 10, px, py, 400 * ps, 0, 0, 400 * ps)
161    
162          cs2 = vs.coords.affineCoordsys(0, "2", 10 - bm, bx, by,          cs2 = vs.coords.affineCoordsys(0, "2", 1.0/bm, bx, by,
163                                         400 * bs * math.exp(+bl) * math.cos(ba),                                         400 * bs * math.exp(+bl) * math.cos(ba),
164                                         400 * bs * math.exp(+bl) * math.sin(ba),                                         400 * bs * math.exp(+bl) * math.sin(ba),
165                                         400 * bs * math.exp(-bl) *-math.sin(ba),                                         400 * bs * math.exp(-bl) *-math.sin(ba),

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26