Revision: | 1.2 |
Committed: | Sat Nov 15 02:13:37 2003 UTC (21 years, 6 months ago) by schorsch |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | rad3R6P1, rad3R6 |
Changes since 1.1: | +12 -12 lines |
Log Message: | Continued ANSIfication, and reduced other compile warnings. |
# | Content |
---|---|
1 | #ifndef lint |
2 | static const char RCSid[] = "$Id: space.c,v 1.1 2003/02/22 02:07:26 greg Exp $"; |
3 | #endif |
4 | |
5 | #include "local4014.h" |
6 | #include "lib4014.h" |
7 | |
8 | extern void |
9 | space( |
10 | int x0, |
11 | int y0, |
12 | int x1, |
13 | int y1 |
14 | ) |
15 | { |
16 | botx = 0.; |
17 | boty = 0.; |
18 | obotx = x0; |
19 | oboty = y0; |
20 | if(scaleflag) |
21 | return; |
22 | scalex = 3120./(x1-x0); |
23 | scaley = 3120./(y1-y0); |
24 | } |