diff options
Diffstat (limited to 'warp.py')
-rw-r--r-- | warp.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,7 +18,8 @@ def get_maps(xres,yres): yy=(y-yres/2.)/xres # yes, xres. for x in xrange(0,xres): - xx=(x-xres/2.)/xres + xx_=(x-xres/2.)/xres + xx=math.tan(xx_) dist = math.sqrt(xx**2 + yy**2) |