summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 17:59:33 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 18:20:11 +0100
commit3b52b683e309a6d8f6f25d29ec5f703984ab2458 (patch)
tree81fb955754110e5dda1d84fde2e95dc26cafe3b3 /src/core/Camera.h
parentfree cam inversion fix (diff)
downloadre3-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.h6
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 &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);