Example #1
0
 public GOut(
     BGL gl, CurrentGL curgl, GLConfig cfg, GLState.Applier st, GLState.Buffer def2d, Coord sz) {
   this.gl = gl;
   this.gc = cfg;
   this.ul = this.tx = Coord.z;
   this.sz = sz;
   this.curgl = curgl;
   this.st = st;
   this.root = this;
   this.def2d = def2d;
   this.cur2d = new GLState.Buffer(gc);
   defstate();
 }
Example #2
0
 protected GOut(GOut o) {
   this.gl = o.gl;
   this.gc = o.gc;
   this.ul = o.ul;
   this.sz = o.sz;
   this.tx = o.tx;
   this.curgl = o.curgl;
   this.root = o.root;
   this.st = o.st;
   this.def2d = o.def2d;
   this.cur2d = new GLState.Buffer(gc);
   defstate();
 }