/[fenfire]/fenfire/org/fenfire/view/buoy/FisheyeMainNode2D.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/buoy/FisheyeMainNode2D.java

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

revision 1.15 by mudyc, Wed Aug 6 15:55:54 2003 UTC revision 1.16 by mudyc, Sun Aug 17 11:31:27 2003 UTC
# Line 109  public class FisheyeMainNode2D extends A Line 109  public class FisheyeMainNode2D extends A
109          }          }
110          return super.mouse(e, oldVobScene);          return super.mouse(e, oldVobScene);
111      }      }
112    
113    
114        public boolean hasMouseHit(VobScene oldVobScene, int x, int y, float[] zout) {
115            super.hasMouseHit(oldVobScene, x,y, zout);
116    
117            oldVobScene.coords.transformPoints3(box2paper, hit_pt, hit_pt);
118            view2d.getSize(plane, v2dwh);
119            if(v2dwh[0] >= 0) {
120                if(hit_pt[0] >= 0 && hit_pt[0] < v2dwh[0] &&
121                   hit_pt[1] >= 0 && hit_pt[1] < v2dwh[1]) return true;
122            }
123            return false;
124        }
125    
126  }  }
127    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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