dxx-rebirth/common/3d/globvars.h

37 lines
742 B
C
Raw Normal View History

2006-03-20 17:12:09 +00:00
/*
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
* It is copyright by its individual contributors, as recorded in the
* project's Git history. See COPYING.txt at the top level for license
* terms and a link to the Git history.
*/
2006-03-20 17:12:09 +00:00
/*
*
* Private (internal) header for 3d library
*
*/
2015-03-11 02:19:15 +00:00
#pragma once
2006-03-20 17:12:09 +00:00
2013-10-26 03:40:50 +00:00
#include "maths.h"
#include "fwd-vecmat.h"
2013-10-26 03:40:50 +00:00
struct g3s_point;
2015-12-13 18:00:49 +00:00
namespace dcx {
2015-12-05 22:57:24 +00:00
2006-03-20 17:12:09 +00:00
extern fix Canv_w2,Canv_h2; //fixed-point width,height/2
#ifdef __powerc
extern double fCanv_w2, fCanv_h2;
#endif
extern vms_vector Window_scale;
extern vms_vector View_position,Matrix_scale;
extern vms_matrix View_matrix,Unscaled_matrix;
2015-12-05 22:57:24 +00:00
}
2006-03-20 17:12:09 +00:00
//vertex buffers for polygon drawing and clipping
//list of 2d coords