diff options
| author | Sergeanur <s.anureev@yandex.ua> | 2021-01-18 21:06:59 +0200 |
|---|---|---|
| committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-18 21:06:59 +0200 |
| commit | 91093305d65305722e380c0087c71469363a8396 (patch) | |
| tree | b589257deee2ecccf0617601da97c82fbb8385f5 /src/core/Camera.h | |
| parent | sync milessdk with re3mss (diff) | |
| download | re3-91093305d65305722e380c0087c71469363a8396.tar.gz | |
Get rid of RwMatrix in CMatrix
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 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); |
