summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
blob: 408c41b0a04db098daf7e59bebbd723ef1e0b061 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

class CDraw
{
private:
	static float &ms_fNearClipZ;
	static float &ms_fFarClipZ;
	static float &ms_fFOV;
public:
	static uint8 &FadeValue;
	static uint8 &FadeRed;
	static uint8 &FadeGreen;
	static uint8 &FadeBlue;

	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);
	static float GetFOV(void) { return ms_fFOV; }
};