/[fenfire]/fenfire/org/fenfire/view/SpatialPlane.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/SpatialPlane.java

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

revision 1.8 by mudyc, Wed Apr 9 00:56:51 2003 UTC revision 1.9 by mudyc, Wed Apr 9 22:25:05 2003 UTC
# Line 65  public static final String rcsid = "$Id$ Line 65  public static final String rcsid = "$Id$
65          float[] pt = vs.coords.transformPoints3(into, new float[3], null);          float[] pt = vs.coords.transformPoints3(into, new float[3], null);
66          pt[0] += size[0]/2;          pt[0] += size[0]/2;
67          pt[1] += size[1]/2;          pt[1] += size[1]/2;
68            if (size[0] < 10 || size[1] <10) return;
69    
70                    
71          float[] pan = new float[]{1,1};          float[] pan = new float[]{1,1};
72          vs.coords.getSqSize(geom, pan);          vs.coords.getSqSize(geom, pan);
# Line 87  public static final String rcsid = "$Id$ Line 89  public static final String rcsid = "$Id$
89              nodeview.getSize(n, bs, zoom);              nodeview.getSize(n, bs, zoom);
90              Pair matchKey = new Pair(container, n);              Pair matchKey = new Pair(container, n);
91              int box = vs.orthoCS(0, matchKey, pt[2]-.5f,              int box = vs.orthoCS(0, matchKey, pt[2]-.5f,
92                                   pt[0] + (pan[0] - coords[0] - bs[0]) * zoom,                                   pt[0] + (pan[0] - coords[0])*zoom - bs[0],
93                                   pt[1] + (pan[1] - coords[1] - bs[1]) * zoom,                                   pt[1] + (pan[1] - coords[1])*zoom - bs[1],
94                                   bs[0], bs[1]);                                   bs[0], bs[1]);
95              nodeview.place(n, vs, box);              nodeview.place(n, vs, box);
96                            

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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