summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-04 20:04:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-04 20:04:22 +0200
commit90a08348862c17488a751f8d8f6a15af218edf95 (patch)
treec7294de3c6a337b49f6102199de354748738f62b /shaders
parent7493b452de349f26617171d7e90ecec6c73e0919 (diff)
a
Diffstat (limited to 'shaders')
-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 d58893d1..ee9056da 100644
--- a/shaders/tile-shader.hpp
+++ b/shaders/tile-shader.hpp
@@ -31,7 +31,7 @@ private:
constexpr Vector2 tile_shader::project(const Vector3 pt)
{
- float x = pt[1], y = pt[0], z = pt[2];
+ float x = -pt[1], y = -pt[0], z = pt[2];
return { x-y, (x+y+z*2)*.75f };
}