/*
* if (JXAenvUtils._debug) { System.err.println(">>> GL TESS
* >>> cubic"); }
*/
for (Point2D.Float p : GLGeom._computeBezierCurve(new Point2D.Float[]{current, new Point2D.Float(coords[0], coords[1]), new Point.Float(coords[2], coords[3]), new Point.Float(coords[4], coords[5])}, resolution)) {
tess.gluTessVertex(new double[]{p.x, p.y, 0.}, 0, new float[]{p.x, p.y, 0f});
}
current.x = coords[4];
current.y = coords[5];
break;
case PathIterator.SEG_QUADTO: