/[gzz]/gzz/gzz/view/FisheyeState.java
ViewVC logotype

Diff of /gzz/gzz/view/FisheyeState.java

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

revision 1.3 by tjl, Wed Feb 12 13:08:20 2003 UTC revision 1.4 by tjl, Thu Feb 13 14:39:30 2003 UTC
# Line 52  public static final String rcsid = "$Id$ Line 52  public static final String rcsid = "$Id$
52      VobScene vs;      VobScene vs;
53      int cs, cs2;      int cs, cs2;
54    
55        /** Put the current fisheye coordinate system
56         * into the given vobscene. This puts more than one coordinate
57         * system, and only the first one uses the given key.
58         * The returned one is not matched and should be added to
59         * the matcher by the caller.
60         */
61      public int getCoordsys(VobScene vs, int into, Object key) {      public int getCoordsys(VobScene vs, int into, Object key) {
62          this.vs = vs;          this.vs = vs;
63          cs = ((GLVobCoorder)vs.coords).distort(into,          cs = ((GLVobCoorder)vs.coords).distort(into,
64                      0, 0, 0, 0, 0, 0);                      0, 0, 0, 0, 0, 0);
65          vs.matcher.add(into, cs, key);          vs.matcher.add(into, cs, key);
66          cs2 = vs.translateCS(cs, "TR", 0, 0);          cs2 = vs.coords.translate(cs, 0, 0);
67          setCoordsysParams();          setCoordsysParams();
68          return cs2;          return cs2;
69      }      }

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

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