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 $
15 * $Revision: 1.1.1.1 $
17 * $Date: 2001-01-19 03:29:58 $
19 * Global variables for 3d
21 * $Log: not supported by cvs2svn $
22 * Revision 1.1.1.1 1999/06/14 21:57:45 donut
23 * Import of d1x 1.37 source.
25 * Revision 1.2 1995/09/13 11:30:47 allender
26 * added fCanv_w2 and vCanv_h2 for PPC implementation
28 * Revision 1.1 1995/05/05 08:50:48 allender
31 * Revision 1.1 1995/04/17 04:24:57 matt
38 static char rcsid[] = "$Id: globvars.c,v 1.1.1.1 2001-01-19 03:29:58 bradleyb Exp $";
48 vms_vector View_position;
51 vms_matrix Unscaled_matrix; //before scaling
52 vms_matrix View_matrix;
54 vms_vector Window_scale; //scaling for window aspect
55 vms_vector Matrix_scale; //how the matrix is scaled, window_scale * zoom
57 int Canvas_width; //the actual width
58 int Canvas_height; //the actual height
60 fix Canv_w2; //fixed-point width/2
61 fix Canv_h2; //fixed-point height/2
68 //vertex buffers for polygon drawing and clipping
69 g3s_point * Vbuf0[MAX_POINTS_IN_POLY];
70 g3s_point *Vbuf1[MAX_POINTS_IN_POLY];
73 fix Vertex_list[MAX_POINTS_IN_POLY*2];