/[libvob]/libvob/org/nongnu/libvob/view/FisheyeState.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/view/FisheyeState.java

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

revision 1.2 by tjl, Thu Mar 27 11:04:52 2003 UTC revision 1.3 by tjl, Mon Apr 28 11:28:13 2003 UTC
# Line 64  public static final String rcsid = "$Id$ Line 64  public static final String rcsid = "$Id$
64    
65          curx = 0;          curx = 0;
66          cury = 0;          cury = 0;
67          cursize = .5f * (minsize + maxsize);          cursize = (float)Math.sqrt(minsize * maxsize);
68    
69          curmag = .5f * (minmag + maxmag);          curmag = (float)Math.sqrt(minmag * maxmag);
70          curmin = minmag;          curmin = minmag;
71      }      }
72    
# Line 133  public static final String rcsid = "$Id$ Line 133  public static final String rcsid = "$Id$
133              if(cursize < minsize) cursize = minsize;              if(cursize < minsize) cursize = minsize;
134              if(cursize > maxsize) cursize = maxsize;              if(cursize > maxsize) cursize = maxsize;
135    
136                if(dbg) pa("Z: "+curmag+" "+cursize);
137    
138              return true;              return true;
139    
140          }          }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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