Subversion Repositories Games.Descent

Rev

Blame | Last modification | View Log | Download | RSS feed

  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. struct g3s_point;
  19.  
  20. namespace dcx {
  21.  
  22. extern fix Canv_w2,Canv_h2;                             //fixed-point width,height/2
  23.  
  24. #ifdef __powerc
  25. extern double fCanv_w2, fCanv_h2;
  26. #endif
  27.  
  28. extern vms_vector Window_scale;
  29.  
  30. extern fix View_zoom;
  31. extern vms_vector View_position,Matrix_scale;
  32. extern vms_matrix View_matrix,Unscaled_matrix;
  33.  
  34. }
  35.  
  36. //vertex buffers for polygon drawing and clipping
  37. //list of 2d coords
  38.