mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 10:17:01 +00:00
@@ -116,6 +116,16 @@ enum ERglCullMode {
|
||||
kCM_All = GX_CULL_ALL,
|
||||
};
|
||||
|
||||
|
||||
struct CViewport {
|
||||
int mLeft;
|
||||
int mTop;
|
||||
int mWidth;
|
||||
int mHeight;
|
||||
float mHalfWidth;
|
||||
float mHalfHeight;
|
||||
};
|
||||
|
||||
class CTimeProvider;
|
||||
|
||||
class CGraphics {
|
||||
@@ -132,6 +142,7 @@ public:
|
||||
static void StreamVertex(const float*);
|
||||
static void StreamEnd();
|
||||
|
||||
static const CViewport& GetViewport() { return mViewport; }
|
||||
static const CTransform4f& GetViewMatrix() { return mViewMatrix; }
|
||||
static const CTransform4f& GetModelMatrix() { return mModelMatrix; }
|
||||
static void SetBrightness(float b) { mBrightness = b; }
|
||||
@@ -165,6 +176,7 @@ public:
|
||||
private:
|
||||
static CTransform4f mViewMatrix;
|
||||
static CTransform4f mModelMatrix;
|
||||
static CViewport mViewport;
|
||||
static float mBrightness;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user