mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 05:43:47 +00:00
15 lines
455 B
C
15 lines
455 B
C
|
#ifndef __OCCLUDE_H__
|
||
|
#define __OCCLUDE_H__
|
||
|
|
||
|
namespace NxXbox
|
||
|
{
|
||
|
void AddOcclusionPoly( Mth::Vector &v0, Mth::Vector &v1, Mth::Vector &v2, Mth::Vector &v3, uint32 checksum = 0 );
|
||
|
void EnableOcclusionPoly( uint32 checksum, bool available );
|
||
|
void RemoveAllOcclusionPolys( void );
|
||
|
void BuildOccluders( Mth::Vector *p_cam_pos, int view );
|
||
|
bool TestSphereAgainstOccluders( D3DXVECTOR3 *p_center, float radius, uint32 meshes = 1 );
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|