From ec6c6bae6c7979ca75516f95ec3768f942a3011f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Sun, 20 Mar 2016 22:19:53 +0100 Subject: [PATCH] =?UTF-8?q?Fixation=20de=20la=20cam=C3=A9ra=20(temporaire)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine.cpp b/src/engine.cpp index a731575..2a9ae98 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -7,11 +7,11 @@ Engine::Engine() : window( sf::VideoMode(704, 480), "Projet CMI", sf::Style::Default & ~sf::Style::Resize, sf::ContextSettings(0, 0, 2) -), view(sf::FloatRect(200, 200, 300, 200)){ +), view(sf::FloatRect(0, 0, 704, 480)){ window.setVerticalSyncEnabled(true); // mise en place de la caméra - view.setSize(800, 600); + view.setSize(704, 480); window.setView(view); }