Commit | Line | Data |
---|---|---|
8ca5a16e SL |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)space.c 4.1 (Berkeley) %G%"; | |
3 | #endif | |
4 | ||
5 | extern float botx; | |
6 | extern float boty; | |
7 | extern float obotx; | |
8 | extern float oboty; | |
9 | extern float scalex; | |
10 | extern float scaley; | |
11 | extern int scaleflag; | |
12 | space(x0,y0,x1,y1){ | |
13 | botx = 0.; | |
14 | boty = 0.; | |
15 | obotx = x0; | |
16 | oboty = y0; | |
17 | if(scaleflag) | |
18 | return; | |
19 | scalex = 3120./(x1-x0); | |
20 | scaley = 3120./(y1-y0); | |
21 | } |