/[libvob]/libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/buoy/impl/BuoyOnCircleGeometer.java

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

revision 1.3 by tjl, Sat Aug 9 14:39:44 2003 UTC revision 1.4 by tjl, Mon Aug 11 08:57:55 2003 UTC
# Line 55  public abstract class BuoyOnCircleGeomet Line 55  public abstract class BuoyOnCircleGeomet
55                  int index, int total,                  int index, int total,
56                  float w, float h, float scale) {                  float w, float h, float scale) {
57          int shiftedAnchor = anchor;          int shiftedAnchor = anchor;
58    
59            // Shift the anchor, if required
60          if(shiftFactor != 0) {          if(shiftFactor != 0) {
61              float shift = index;              float shift = index;
62              if(index > 0)              if(index > 0)
# Line 79  public abstract class BuoyOnCircleGeomet Line 81  public abstract class BuoyOnCircleGeomet
81                                      direction, 10);                                      direction, 10);
82    
83          int inBuoy = vs.coords.orthoBox(buoy,          int inBuoy = vs.coords.orthoBox(buoy,
84                              -100, -w/2, -h/2, scale, scale, w, h);                              -100, -w/2 * scale, -h/2 * scale,
85                                        scale, scale, w, h);
86    
87          vs.matcher.add(this.buoyinto, inBuoy, key);          vs.matcher.add(this.buoyinto, inBuoy, key);
88    

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