about summary refs log tree commit diff
path: root/src/game/client/components/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/camera.h')
-rw-r--r--src/game/client/components/camera.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/game/client/components/camera.h b/src/game/client/components/camera.h
new file mode 100644
index 00000000..9654bdf6
--- /dev/null
+++ b/src/game/client/components/camera.h
@@ -0,0 +1,16 @@
+#ifndef GAME_CLIENT_COMPONENTS_CAMERA_H
+#define GAME_CLIENT_COMPONENTS_CAMERA_H
+#include <base/vmath.h>
+#include <game/client/component.h>
+
+class CCamera : public CComponent
+{	
+public:
+	vec2 m_Center;
+	float m_Zoom;
+
+	CCamera();
+	virtual void OnRender();
+};
+
+#endif