public BezierLineEnumerator(Bezier bez, int numLines) { numLines = Mathf.Max(1, numLines); this.points = new BezierPointEnumerator(bez, numLines + 1); lastPoint = null; }
public BezierPointEnumerator(Bezier bez, int numPoints) { this.bez = bez; this.numPoints = Mathf.Max(2, numPoints); this.idx = -1; }