/** * Make a NURBS curve. * * @param r GLUnurbs object holding the curve * @param nknots number of knots * @param knot knot vector * @param stride number of control point coordinates * @param ctlarray control points * @param order order of the curve * @param type curve type */ public final void gluNurbsCurve( GLUnurbs r, int nknots, float[] knot, int stride, float[] ctlarray, int order, int type) { int realType; switch (type) { // TODO GLU_MAP1_TRIM_2 etc. default: realType = type; break; } ((GLUgl2nurbsImpl) r).nurbscurve(nknots, knot, stride, ctlarray, order, realType); }