|
|
1.1 root 1: #ifndef lint
2: static char sccsid[] = "@(#)space.c 4.2 (Berkeley) 11/10/83";
3: #endif
4:
5: extern float boty;
6: extern float botx;
7: extern float oboty;
8: extern float obotx;
9: extern float scalex;
10: extern float scaley;
11: float deltx = 4095.;
12: float delty = 4095.;
13: space(x0,y0,x1,y1){
14: botx = -2047.;
15: boty = -2047;
16: obotx = x0;
17: oboty = y0;
18: scalex = deltx/(x1-x0);
19: scaley = delty/(y1-y0);
20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.