Debian Codegraph @

common/3d/globvars.h

raw
1 /*
2 * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
3 * It is copyright by its individual contributors, as recorded in the
4 * project's Git history. See COPYING.txt at the top level for license
5 * terms and a link to the Git history.
6 */
7 /*
8 *
9 * Private (internal) header for 3d library
10 *
11 */
12
13 #pragma once
14
15 #include "maths.h"
16 #include "fwd-vecmat.h"
17
18 namespace dcx {
19
20 extern fix Canv_w2,Canv_h2; //fixed-point width,height/2
21
22 #ifdef __powerc
23 extern double fCanv_w2, fCanv_h2;
24 #endif
25
26 extern vms_vector Window_scale;
27
28 extern vms_vector View_position,Matrix_scale;
29 extern vms_matrix View_matrix,Unscaled_matrix;
30
31 }
32
33 //vertex buffers for polygon drawing and clipping
34 //list of 2d coords