mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 17:39:49 +00:00
fixed COcclusion
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user