24 |
|
|
25 |
public void prepare(VobScene vs, int into, Object key, boolean create) { |
public void prepare(VobScene vs, int into, Object key, boolean create) { |
26 |
if(create) { |
if(create) { |
27 |
this.buoyinto = vs.orthoCS(into, key, 1, 1, 1, 1, 1); |
this.buoyinto = vs.orthoBoxCS(into, key, 1, 1, 1, 1, 1, 1, 1); |
28 |
} else { |
} else { |
29 |
this.buoyinto = vs.matcher.getCS(into, key); |
this.buoyinto = vs.matcher.getCS(into, key); |
30 |
} |
} |
31 |
vs.coords.getSqSize(into, tmp); |
vs.coords.getSqSize(into, tmp); |
32 |
|
|
33 |
vs.coords.setOrthoParams(this.buoyinto, |
vs.coords.setOrthoBoxParams(this.buoyinto, |
34 |
0, x * tmp[0], y * tmp[1], w * tmp[0], h * tmp[1]); |
0, x * tmp[0], y * tmp[1], 1, 1, w * tmp[0], h * tmp[1]); |
35 |
} |
} |
36 |
} |
} |