mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-18 18:11:28 +00:00
25 lines
600 B
C
25 lines
600 B
C
|
/*
|
||
|
* hw_clip.h
|
||
|
* SRB2CB
|
||
|
*
|
||
|
* PrBoom's OpenGL clipping
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
// OpenGL BSP clipping
|
||
|
#include "../doomdef.h"
|
||
|
#include "../tables.h"
|
||
|
#include "../doomtype.h"
|
||
|
|
||
|
//#define HAVE_SPHEREFRUSTRUM // enable if you want HWR_SphereInFrustum and related code
|
||
|
|
||
|
boolean HWR_clipper_SafeCheckRange(angle_t startAngle, angle_t endAngle);
|
||
|
void HWR_clipper_SafeAddClipRange(angle_t startangle, angle_t endangle);
|
||
|
void HWR_clipper_Clear(void);
|
||
|
angle_t HWR_FrustumAngle(void);
|
||
|
#ifdef HAVE_SPHEREFRUSTRUM
|
||
|
void HWR_FrustrumSetup(void);
|
||
|
boolean HWR_SphereInFrustum(float x, float y, float z, float radius);
|
||
|
#endif
|