2022-10-23 01:20:49 +02:00
|
|
|
#pragma once
|
|
|
|
#include "mathlib/vector.h"
|
|
|
|
#include "mathlib/vmatrix.h"
|
|
|
|
|
|
|
|
#ifndef DEDICATED
|
|
|
|
|
|
|
|
// Remove after CViewSetup impl
|
|
|
|
// For main view calc width / 2 = posX same for posY with height.
|
|
|
|
struct TransformInfo_t
|
|
|
|
{
|
|
|
|
int posX;
|
|
|
|
int posY;
|
|
|
|
int width;
|
|
|
|
int height;
|
|
|
|
};
|
|
|
|
|
|
|
|
bool ClipTransform(const VMatrix& w2sMatrix, const Vector3D& point, Vector3D* pClip);
|
|
|
|
bool ScreenTransform(const TransformInfo_t& transformInfo, const VMatrix& w2sMatrix, const Vector3D& point, Vector3D* pClip);
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class VGL_RMain : public IDetour
|
|
|
|
{
|
|
|
|
virtual void GetAdr(void) const { }
|
|
|
|
virtual void GetFun(void) const { }
|
|
|
|
virtual void GetVar(void) const { }
|
|
|
|
virtual void GetCon(void) const { }
|
2023-11-26 13:21:20 +01:00
|
|
|
virtual void Detour(const bool bAttach) const { }
|
2022-10-23 01:20:49 +02:00
|
|
|
};
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#endif
|