diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tile.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile.hpp b/shaders/tile.hpp index 73dc019d..b12176c5 100644 --- a/shaders/tile.hpp +++ b/shaders/tile.hpp @@ -62,7 +62,7 @@ decltype(auto) tile_shader::draw(T&& mesh, Xs&&... xs) template<typename T> constexpr Math::Vector2<T> tile_shader::project(const Math::Vector3<T>& pt) { - const auto x = pt[0], y = pt[1], z = pt[2]; + const auto x = pt[0], y = pt[1], z = -pt[2]; return { x-y, (x+y+z*2)*T(.59) }; } |