// (c): Tuomas J. Lukka package gzz.vob.buoy; import gzz.vob.*; import gzz.gfx.gl.GLVobCoorder; public class CircleFloater4 implements Buoy4Floater { VobScene into; int parent; float centerx; float centery; float radius; float projx; float projy; public CircleFloater4(VobScene into, int parent, float centerx, float centery, float radius, float projx, float projy) { this.into = into; this.parent = parent; this.centerx = centerx; this.centery = centery; this.radius = radius; this.projx = projx; this.projy = projy; } public int buoyCoordsys(int anchorCS, Object key) { int cs = ((GLVobCoorder)into.coords). buoyOnCircle(parent, anchorCS, centerx, centery, radius, projx, projy, 1); into.matcher.add(cs, key); return cs; } public void finishFloating() { } }