Sync matrix with master

This commit is contained in:
Sergeanur 2021-01-20 18:59:33 +02:00
parent 8590457d41
commit 3b52b683e3
8 changed files with 345 additions and 282 deletions

View file

@ -447,7 +447,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;