summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-20 19:14:12 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-20 19:14:12 +0100
commit23831e38e632073c9d1fc5ff073b1568c02e33b8 (patch)
treee2386110918e4424e26d33a8a9c9d0e9ea46fa2c /src/core/Camera.h
parentMerge branch 'lcs-dev' into lcs (diff)
parentMerge branch 'miami' into lcs (diff)
downloadre3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.gz
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.bz2
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.lz
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.xz
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.zst
re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.zip
Diffstat (limited to 'src/core/Camera.h')
-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 29f36c24..9354e8ed 100644
--- a/src/core/Camera.h
+++ b/src/core/Camera.h
@@ -634,7 +634,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);