- Prova de "pilars" en sectors satisfactòria
This commit is contained in:
12
main.cpp
12
main.cpp
@@ -168,11 +168,21 @@ void createMap()
|
|||||||
s.verts.push_back({ 64.0f, 0.0f});
|
s.verts.push_back({ 64.0f, 0.0f});
|
||||||
s.verts.push_back({ 64.0f,-256.0f});
|
s.verts.push_back({ 64.0f,-256.0f});
|
||||||
s.verts.push_back({256.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({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({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({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({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);
|
sectors.push_back(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user