From 5af2bc3fe7cadd187fdf60d96f408febbd5d73da Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Sun, 28 Sep 2025 23:23:42 +0200 Subject: [PATCH] =?UTF-8?q?-=20Prova=20de=20"pilars"=20en=20sectors=20sati?= =?UTF-8?q?sfact=C3=B2ria?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 967141f..d34f2bc 100644 --- a/main.cpp +++ b/main.cpp @@ -168,11 +168,21 @@ void createMap() s.verts.push_back({ 64.0f, 0.0f}); s.verts.push_back({ 64.0f,-256.0f}); s.verts.push_back({256.0f,-256.0f}); - + + s.verts.push_back({128.0f,-128.0f}); + s.verts.push_back({192.0f,-128.0f}); + s.verts.push_back({192.0f,-192.0f}); + s.verts.push_back({128.0f,-192.0f}); + s.walls.push_back({0,1,{0,0},0.0f,0.0f,0}); s.walls.push_back({1,2,{0,0},0.0f,0.0f,-1}); s.walls.push_back({2,3,{0,0},0.0f,0.0f,-1}); s.walls.push_back({3,0,{0,0},0.0f,0.0f,-1}); + s.walls.push_back({4,5,{0,0},0.0f,0.0f,-1}); + s.walls.push_back({5,6,{0,0},0.0f,0.0f,-1}); + s.walls.push_back({6,7,{0,0},0.0f,0.0f,-1}); + s.walls.push_back({7,4,{0,0},0.0f,0.0f,-1}); + sectors.push_back(s); }