Merge remote-tracking branch 'upstream/master' into cw

This commit is contained in:
withmorten
2021-01-21 03:20:31 +01:00
14 changed files with 380 additions and 312 deletions

View File

@ -407,7 +407,11 @@ CEntity::GetIsOnScreen(void)
bool
CEntity::GetIsOnScreenComplex(void)
{
RwV3d boundBox[8];
#ifdef GTA_PS2
CVuVector boundBox[8];
#else
CVector boundBox[8];
#endif
if(TheCamera.IsPointVisible(GetBoundCentre(), &TheCamera.GetCameraMatrix()))
return true;