diff options
-rw-r--r-- | main/draw.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp index 54f33622..67d1eecb 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -116,7 +116,6 @@ void main_impl::draw_anim() noexcept _anim_mesh.draw(_shader, *atlas, s.r, s.frame, xy); const auto& g = atlas->group(s.r); const auto& f = atlas->frame(s.r, s.frame); - constexpr Vector2 pixel88 = tile_shader::project(TILE_MAX_DIM*TILE_SIZE20*.5f); const auto world_pos = TILE_SIZE20 * Vector3(xy.x, xy.y, 0) + Vector3(g.offset); const Vector2ui offset((Vector2(_shader.camera_offset()) + Vector2(sz)*.5f) + _shader.project(world_pos) - Vector2(f.ground)); |