summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-23 07:44:28 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-23 07:44:28 +0100
commitd29c655bf4de4f40374c2ef3d4497e4662222eca (patch)
tree87db89490feb2003ffff6da138de19c2c11a1d30 /main
parent628940923846b9f3341369def9b262c1d0f70605 (diff)
kill unused variable
Diffstat (limited to 'main')
-rw-r--r--main/draw.cpp1
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));