mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
CCameraManager imps
This commit is contained in:
@@ -28,6 +28,7 @@ zeus::CVector2i CGraphics::g_ViewportResolutionHalf;
|
||||
SClipScreenRect CGraphics::g_CroppedViewport;
|
||||
int CGraphics::g_ViewportSamples = 1;
|
||||
bool CGraphics::g_IsGXModelMatrixIdentity = true;
|
||||
SViewport gViewport = {0, 0, 640, 480, 640 / 2.f, 480 / 2.f};
|
||||
|
||||
void CGraphics::DisableAllLights()
|
||||
{
|
||||
|
||||
@@ -139,6 +139,18 @@ enum class ERglFogMode
|
||||
OrthoRevExp2 = 0x0F
|
||||
};
|
||||
|
||||
struct SViewport
|
||||
{
|
||||
u32 x0_left;
|
||||
u32 x4_top;
|
||||
u32 x8_width;
|
||||
u32 xc_height;
|
||||
float x10_halfWidth;
|
||||
float x14_halfHeight;
|
||||
};
|
||||
|
||||
extern SViewport gViewport;
|
||||
|
||||
struct SClipScreenRect
|
||||
{
|
||||
bool x0_valid = false;
|
||||
|
||||
Reference in New Issue
Block a user