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) |
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 |
|
|