re3/src/render/Draw.h

17 lines
484 B
C
Raw Normal View History

2019-05-15 14:52:37 +00:00
#pragma once
class CDraw
{
private:
static float &ms_fNearClipZ;
static float &ms_fFarClipZ;
static float &ms_fFOV;
public:
static void SetNearClipZ(float nearclip) { ms_fNearClipZ = nearclip; }
static float GetNearClipZ(void) { return ms_fNearClipZ; }
static void SetFarClipZ(float farclip) { ms_fFarClipZ = farclip; }
static float GetFarClipZ(void) { return ms_fFarClipZ; }
static void SetFOV(float fov) { ms_fFOV = fov; }
static float GetFOV(void) { return ms_fFOV; }
};