Get rid of RwMatrix in CMatrix

This commit is contained in:
Sergeanur committed 2021-01-18 21:06:59 +02:00
1 parent da29203219
commit 91093305d6
8 files changed
+319 -278

No files matched your search

+5 -1
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;