aboutsummaryrefslogtreecommitdiffstats
path: root/src/camera2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera2d.cpp')
-rw-r--r--src/camera2d.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/camera2d.cpp b/src/camera2d.cpp
index 81e8d971..88b468de 100644
--- a/src/camera2d.cpp
+++ b/src/camera2d.cpp
@@ -1,3 +1,11 @@
+/* ----------------------------------------------------------------------------
+ * camera2d.cpp
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
+ * See file LICENSE for more details
+ * ----------------------------------------------------------------------------
+ */
+
#include "camera2d.hpp"
#include <GL/glew.h>
@@ -11,9 +19,6 @@ Camera2D::Camera2D(int screen_width, int screen_height) :
ortho_matrix_(glm::ortho(0.f, (float)screen_width, 0.f, (float)screen_height))
{}
-Camera2D::~Camera2D()
-{}
-
void Camera2D::update(GlslProgram &program)
{
if(matrix_needs_update_)