summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-18 20:06:59 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-18 20:06:59 +0100
commit91093305d65305722e380c0087c71469363a8396 (patch)
treeb589257deee2ecccf0617601da97c82fbb8385f5 /src/core/Camera.h
parentsync milessdk with re3mss (diff)
downloadre3-91093305d65305722e380c0087c71469363a8396.tar
re3-91093305d65305722e380c0087c71469363a8396.tar.gz
re3-91093305d65305722e380c0087c71469363a8396.tar.bz2
re3-91093305d65305722e380c0087c71469363a8396.tar.lz
re3-91093305d65305722e380c0087c71469363a8396.tar.xz
re3-91093305d65305722e380c0087c71469363a8396.tar.zst
re3-91093305d65305722e380c0087c71469363a8396.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h
index ca1bd135..d7293e20 100644
--- a/src/core/Camera.h
+++ b/src/core/Camera.h
@@ -641,7 +641,11 @@ public:
bool IsPointVisible(const CVector &center, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius, const CMatrix *mat);
bool IsSphereVisible(const CVector &center, float radius);
- bool IsBoxVisible(RwV3d *box, const CMatrix *mat);
+#ifdef GTA_PS2
+ bool IsBoxVisible(CVuVector *box, const CMatrix *mat);
+#else
+ bool IsBoxVisible(CVector *box, const CMatrix *mat);
+#endif
};
VALIDATE_SIZE(CCamera, 0xE9D8);