Commit | Line | Data |
---|---|---|
23af587d SL |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)space.c 4.1 (Berkeley) %G%"; | |
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 | } |