/[gzz]/gzz/gzz/gfx/gl/GLVanishingClient.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GLVanishingClient.java

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

revision 1.10 by tjl, Mon Sep 23 08:24:25 2002 UTC revision 1.11 by tjl, Wed Sep 25 14:45:43 2002 UTC
# Line 67  public class GLVanishingClient implement Line 67  public class GLVanishingClient implement
67      public void place(Cell c, Object o, float fract, int x0, int y0, int x1, int y1,      public void place(Cell c, Object o, float fract, int x0, int y0, int x1, int y1,
68                  int depth, float rot) {                  int depth, float rot) {
69          // p("Place "+c+" "+fract+" "+x0+" "+y0+" "+x1+" "+y1+" "+depth);          // p("Place "+c+" "+fract+" "+x0+" "+y0+" "+x1+" "+y1+" "+depth);
70          int cs = vs.coords.coordsys(into, c, depth, x0, y0, x1-x0, y1-y0);          int cs = vs.coords.coordsys(into, depth, x0, y0, x1-x0, y1-y0);
71            vs.matcher.add(cs, c);
72          vs.map.put(cellImage, cs);          vs.map.put(cellImage, cs);
73      }      }
74      public void connect(Cell c1, Cell c2, int dx, int dy) {      public void connect(Cell c1, Cell c2, int dx, int dy) {
75          int cs1 = vs.coords.getCoordsys(c1);          int cs1 = vs.matcher.getCS(c1);
76          int cs2 = vs.coords.getCoordsys(c2);          int cs2 = vs.matcher.getCS(c2);
77          if(cs1 <= 0 || cs2 <= 0) return;          if(cs1 <= 0 || cs2 <= 0) return;
78          if(dx > 0) {          if(dx > 0) {
79              vs.map.put(connHoriz, cs1, cs2);              vs.map.put(connHoriz, cs1, cs2);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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