Commit | Line | Data |
---|---|---|
23af587d | 1 | #ifndef lint |
25e033cd | 2 | static char sccsid[] = "@(#)space.c 4.2 (Berkeley) %G%"; |
23af587d SL |
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; | |
25e033cd RC |
11 | float deltx = 4095.; |
12 | float delty = 4095.; | |
23af587d SL |
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 | } |