diff options
author | withmorten <morten.with@gmail.com> | 2021-01-21 03:20:31 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-21 03:20:31 +0100 |
commit | f2596b3759e11098e27f440b129293adab1f4c07 (patch) | |
tree | 9157c19ae9a5c7c7fbfd3ec43ce6663297d050a1 /src/core/Camera.h | |
parent | make building with Codewarrior 7 possible (diff) | |
parent | fixed saving (diff) | |
download | re3-f2596b3759e11098e27f440b129293adab1f4c07.tar re3-f2596b3759e11098e27f440b129293adab1f4c07.tar.gz re3-f2596b3759e11098e27f440b129293adab1f4c07.tar.bz2 re3-f2596b3759e11098e27f440b129293adab1f4c07.tar.lz re3-f2596b3759e11098e27f440b129293adab1f4c07.tar.xz re3-f2596b3759e11098e27f440b129293adab1f4c07.tar.zst re3-f2596b3759e11098e27f440b129293adab1f4c07.zip |
Diffstat (limited to '')
-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 ca1bd135..d7293e20 100644 --- a/src/core/Camera.h +++ b/src/core/Camera.h @@ -641,7 +641,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); |