From 600bf0351476a5a21aabb5429132ddf7f52ac0b9 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 15 May 2019 16:52:37 +0200 Subject: first commit --- src/render/Draw.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/render/Draw.h (limited to 'src/render/Draw.h') diff --git a/src/render/Draw.h b/src/render/Draw.h new file mode 100644 index 00000000..62fe5193 --- /dev/null +++ b/src/render/Draw.h @@ -0,0 +1,16 @@ +#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; } +}; -- cgit v1.2.3