summaryrefslogtreecommitdiffstats
path: root/src/render/Draw.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/render/Draw.h16
1 files changed, 16 insertions, 0 deletions
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; }
+};