Files
fs2open.github.com/code/render/3dinternal.h
CasparKielwein c72fa0917b remove unused functions in render code.
Left those functions in 3dmath alone, as it is more of a library.
2018-12-29 16:45:47 +01:00

41 lines
990 B
C

/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#ifndef _3DINTERNAL_H
#define _3DINTERNAL_H
#include "render/3d.h"
extern int Canvas_width,Canvas_height; //the actual width & height
extern float Canv_w2,Canv_h2; //fixed-point width,height/2
extern vec3d Window_scale;
extern int free_point_num;
extern float View_zoom;
extern vec3d View_position,Matrix_scale;
extern matrix View_matrix,Unscaled_matrix;
extern void free_temp_point(vertex *p);
extern void init_free_points(void);
extern void clip_line(vertex **p0,vertex **p1,ubyte codes_or, uint flags);
extern int G3_count;
extern int G3_user_clip;
extern vec3d G3_user_clip_normal;
extern vec3d G3_user_clip_point;
// Returns TRUE if point is behind user plane
extern int g3_point_behind_user_plane( const vec3d *pnt );
#endif