diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-03 15:12:34 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-03 15:12:34 +0200 |
| commit | b6cd1bfb40bbb0ef657092454c81def4e1b4907b (patch) | |
| tree | c87659bcdbf79272f24d901e9f3a07220c71c118 /wall-mesh.cpp | |
| parent | 919e96949c090bba0162e0004a75efab2c2a5a5f (diff) | |
a
Diffstat (limited to 'wall-mesh.cpp')
| -rw-r--r-- | wall-mesh.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/wall-mesh.cpp b/wall-mesh.cpp index 9d107fcb..2dddf3a1 100644 --- a/wall-mesh.cpp +++ b/wall-mesh.cpp @@ -6,16 +6,6 @@ namespace Magnum::Examples { -#if 0 -static auto make_wall_positions_array() -{ - constexpr float X = TILE_SIZE[0], Y = TILE_SIZE[1], Z = TILE_SIZE[2]; - Vector3 center {(float)(X*i), (float)(Y*j), 0}; - array[k] = { tile_atlas::wall_quad_N(center, {X, Y, Z}) }; - array[k+1] = { tile_atlas::wall_quad_W(center, {X, Y, Z}) }; -} -#endif - wall_mesh::wall_mesh() { _mesh.setCount((int)(_index_data.size() * _index_data[0].size())) |
