mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 05:43:47 +00:00
16 lines
442 B
C++
16 lines
442 B
C++
#ifndef __OCCLUDE_H__
|
|
#define __OCCLUDE_H__
|
|
|
|
namespace NxNgc
|
|
{
|
|
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( Mth::Vector *p_sphere, uint32 meshes = 1 );
|
|
}
|
|
|
|
#endif
|
|
|
|
|