thug/Code/Gfx/NGC/NX/occlude.h
2016-02-14 08:39:12 +11:00

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