2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
14 * $Source: /cvs/cvsroot/d2x/3d/globvars.c,v $
17 * $Date: 2001-10-31 03:54:50 $
19 * Global variables for 3d
21 * $Log: not supported by cvs2svn $
22 * Revision 1.2 2001/01/31 15:17:48 bradleyb
23 * Makefile and conf.h fixes
25 * Revision 1.1.1.1 2001/01/19 03:29:58 bradleyb
28 * Revision 1.1.1.1 1999/06/14 21:57:45 donut
29 * Import of d1x 1.37 source.
31 * Revision 1.2 1995/09/13 11:30:47 allender
32 * added fCanv_w2 and vCanv_h2 for PPC implementation
34 * Revision 1.1 1995/05/05 08:50:48 allender
37 * Revision 1.1 1995/04/17 04:24:57 matt
48 static char rcsid[] = "$Id: globvars.c,v 1.3 2001-10-31 03:54:50 bradleyb Exp $";
54 vms_vector View_position;
57 vms_matrix Unscaled_matrix; //before scaling
58 vms_matrix View_matrix;
60 vms_vector Window_scale; //scaling for window aspect
61 vms_vector Matrix_scale; //how the matrix is scaled, window_scale * zoom
63 int Canvas_width; //the actual width
64 int Canvas_height; //the actual height
66 fix Canv_w2; //fixed-point width/2
67 fix Canv_h2; //fixed-point height/2
74 //vertex buffers for polygon drawing and clipping
75 g3s_point * Vbuf0[MAX_POINTS_IN_POLY];
76 g3s_point *Vbuf1[MAX_POINTS_IN_POLY];
79 fix Vertex_list[MAX_POINTS_IN_POLY*2];