1 /*- 2 * Copyright (c) 1983 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)space.c 4.3 (Berkeley) 04/22/91"; 10 #endif /* not lint */ 11 12 extern float boty; 13 extern float botx; 14 extern float oboty; 15 extern float obotx; 16 extern float scalex; 17 extern float scaley; 18 float deltx = 4095.; 19 float delty = 4095.; 20 space(x0,y0,x1,y1){ 21 botx = -2047.; 22 boty = -2047; 23 obotx = x0; 24 oboty = y0; 25 scalex = deltx/(x1-x0); 26 scaley = delty/(y1-y0); 27 } 28