mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 10:24:07 +00:00
fixed COcclusion
This commit is contained in:
parent
ee2d0ffc14
commit
5bedca7692
5 changed files with 74 additions and 56 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
class COccluder
|
||||
{
|
||||
public:
|
||||
int16 width, length, height;
|
||||
int16 length, width, height;
|
||||
int16 x, y, z;
|
||||
uint16 angle;
|
||||
int16 listIndex;
|
||||
|
@ -27,6 +27,7 @@ public:
|
|||
bool NearCamera();
|
||||
bool ProcessOneOccluder(CActiveOccluder *occl);
|
||||
bool ProcessLineSegment(int corner1, int corner2, CActiveOccluder* occl);
|
||||
float GetAngle(void) { return angle*TWOPI/UINT16_MAX; }
|
||||
};
|
||||
|
||||
class COcclusion
|
||||
|
@ -52,4 +53,6 @@ public:
|
|||
};
|
||||
|
||||
bool CalcScreenCoors(CVector const &in, CVector *out, float *outw, float *outh);
|
||||
bool CalcScreenCoors(CVector const &in, CVector *out);
|
||||
bool CalcScreenCoors(CVector const &in, CVector *out);
|
||||
|
||||
extern bool bDisplayOccDebugStuff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue