Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_unix/sys/src/cmd/plot/libplot/poly.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include "mplot.h"
2
void plotpoly(int num[], double *ff[]){
3
	double *xp, *yp, **fp;
4
	int i, *n;
5
	n = num;
6
	fp = ff;
7
	while((i = *n++)){
8
		xp = *fp++;
9
		yp = xp+1;
10
		move(*xp, *yp);
11
		while(--i){
12
			xp += 2;
13
			yp += 2;
14
			vec(*xp, *yp);
15
		}
16
	}
17
}