mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 05:07:43 +00:00
Some initial widget imps
This commit is contained in:
@@ -16,10 +16,34 @@ public:
|
||||
};
|
||||
private:
|
||||
Projection xf8_proj;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
float xfc_fov;
|
||||
float x100_aspect;
|
||||
float x104_znear;
|
||||
float x108_zfar;
|
||||
};
|
||||
struct
|
||||
{
|
||||
float xfc_left;
|
||||
float x100_right;
|
||||
float x104_top;
|
||||
float x108_bottom;
|
||||
float x10c_znear;
|
||||
float x110_zfar;
|
||||
};
|
||||
};
|
||||
public:
|
||||
CGuiCamera(const CGuiWidgetParms& parms, float, float, float, float, float, float);
|
||||
CGuiCamera(const CGuiWidgetParms& parms, float left, float right,
|
||||
float top, float bottom,
|
||||
float znear, float zfar);
|
||||
CGuiCamera(const CGuiWidgetParms& parms, float fov, float aspect, float znear, float zfar);
|
||||
static CGuiCamera* Create(CGuiFrame* frame, CInputStream& in, bool flag);
|
||||
|
||||
zeus::CVector3f ConvertToScreenSpace(const zeus::CVector3f& vec) const;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user