thug/Code/Gfx/NGC/NX/occlude.h

16 lines
442 B
C
Raw Permalink Normal View History

2016-02-13 21:39:12 +00:00
#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