dxx-rebirth/common/3d/globvars.h
Kp 079ab168a4 Move View_zoom out of global scope
It is only used briefly, so it can be local.
2021-08-26 03:13:45 +00:00

37 lines
742 B
C++

/*
* 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.
*/
/*
*
* Private (internal) header for 3d library
*
*/
#pragma once
#include "maths.h"
#include "fwd-vecmat.h"
struct g3s_point;
namespace dcx {
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;
}
//vertex buffers for polygon drawing and clipping
//list of 2d coords