public CanvasGL2d(int canvasW, int canvasH) { this.canvasW = canvasW; this.canvasH = canvasH; sclineRas = new GLScanlineRasterizer(); sclineRasToGL = new GLScanlineRasToDestBitmapRenderer(); sclinePack8 = new GLScanlinePacked8(); tessListener.Connect(tess, Tesselate.Tesselator.WindingRuleType.Odd, true); }
public TessTool(Tesselate.Tesselator tess) { this.tess = tess; this.tessListener = new TessListener2(); tessListener.Connect(tess, true); }