summaryrefslogtreecommitdiffhomepage
path: root/shaders/tile-shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/tile-shader.hpp')
-rw-r--r--shaders/tile-shader.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile-shader.hpp b/shaders/tile-shader.hpp
index d538c4cc..93f78a1c 100644
--- a/shaders/tile-shader.hpp
+++ b/shaders/tile-shader.hpp
@@ -55,7 +55,7 @@ constexpr Vector2d tile_shader::project(const Vector3d pt)
constexpr Vector2d tile_shader::unproject(const Vector2d px)
{
const auto X = px[0], Y = px[1];
- return { X/2 + 50 * Y / 59, 50 * Y / 59 - X/2 };
+ return { X + 100 * Y / 59, 100 * Y / 59 - X };
}
} // namespace floormat