16 |
*/ |
*/ |
17 |
public class NodeType2DFull extends AbstractNodeType2D { |
public class NodeType2DFull extends AbstractNodeType2D { |
18 |
public static boolean dbg = false; |
public static boolean dbg = false; |
19 |
private static void pa(String s) { System.out.println(s); } |
private static void pa(String s) { System.out.println("NodeType2DFull:: "+s); } |
20 |
|
|
21 |
public static int effigy = 0; |
public static int effigy = 0; |
22 |
|
|
36 |
float [] tmpSqSize = new float[2]; |
float [] tmpSqSize = new float[2]; |
37 |
public int renderBuoy(VobScene vs, int into, Object linkId, |
public int renderBuoy(VobScene vs, int into, Object linkId, |
38 |
Object anchor, Object cachedSize) { |
Object anchor, Object cachedSize) { |
39 |
|
if (dbg) pa("renderBuoy"); |
40 |
if(effigy != 0) { |
if(effigy != 0) { |
41 |
Vob eff = org.nongnu.libvob.gl.GLRen.createQuad(effigy-1, 0,0); |
Vob eff = org.nongnu.libvob.gl.GLRen.createQuad(effigy-1, 0,0); |
42 |
vs.map.put( eff, into); |
vs.map.put( eff, into); |
61 |
|
|
62 |
view2d.render(vs, plane, into, into, box2paper); |
view2d.render(vs, plane, into, into, box2paper); |
63 |
|
|
64 |
|
if (dbg) pa("renderBuoy..DONE"); |
65 |
return vs.coords.translate(into, rect.x / scale, rect.y / scale); |
return vs.coords.translate(into, rect.x / scale, rect.y / scale); |
66 |
} |
} |
67 |
} |
} |