aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-01 14:31:49 +0100
committerGitHub <noreply@github.com>2017-08-01 14:31:49 +0100
commita1fc39d49e442fcc756091ee028ff33bdd9c518a (patch)
treed26379be80687cbc3d1530b57dd4e8552d4cd7b0
parenteb9b37e0029db31a7b8399bc4855c34c0e1f391d (diff)
downloadYAGE-a1fc39d49e442fcc756091ee028ff33bdd9c518a.tar.gz
YAGE-a1fc39d49e442fcc756091ee028ff33bdd9c518a.zip
Update camera2d.hpp
-rw-r--r--include/YAGE/camera2d.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/YAGE/camera2d.hpp b/include/YAGE/camera2d.hpp
index 4c035ba3..ea72224f 100644
--- a/include/YAGE/camera2d.hpp
+++ b/include/YAGE/camera2d.hpp
@@ -14,7 +14,7 @@ class Camera2D
// member variables
private:
bool matrix_needs_update_=true;
- float scale_=1.f;
+ float scale_=1;
glm::vec2 position_;
glm::mat4 camera_matrix_;
glm::mat4 ortho_matrix_;