From 2fa261cbc92d246eb7c5f2ff5594a400710c16a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 2 Sep 2018 23:18:26 +0200 Subject: [PATCH] Start drawing ceiling --- game.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/game.cpp b/game.cpp index ad6968c..1ebc17f 100644 --- a/game.cpp +++ b/game.cpp @@ -117,6 +117,13 @@ return; c.maxSteps = 16; render(player.mCamera,heightFunc,pixelFunc,c); + + p.display.setCursor(1,1); + p.display.print(player.mCamera.position.x); + p.display.print(' '); + p.display.print(player.mCamera.position.x); + p.display.print(' '); + p.display.print(player.mCamera.direction); } int main()