diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 17:59:33 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:20:11 +0100 |
commit | 3b52b683e309a6d8f6f25d29ec5f703984ab2458 (patch) | |
tree | 81fb955754110e5dda1d84fde2e95dc26cafe3b3 /src/core/Camera.h | |
parent | free cam inversion fix (diff) | |
download | re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.gz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.bz2 re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.lz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.xz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.zst re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.zip |
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r-- | src/core/Camera.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h index 4da7b499..538ff067 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -633,7 +633,11 @@ public: bool IsPointVisible(const CVector ¢er, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, float radius, const CMatrix *mat); bool IsSphereVisible(const CVector ¢er, 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); |