summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-08 07:37:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-08 07:37:41 +0100
commit2cb3ba50b896fef785102b212fb172c3f7a45c28 (patch)
tree87831e3be5d267134d5af1342465c4ec9e840196
parent8d8b96c59ad643c1cc379b39260ce0cc52273c36 (diff)
a
-rw-r--r--shaders/tile.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile.hpp b/shaders/tile.hpp
index e156802a..2be1414a 100644
--- a/shaders/tile.hpp
+++ b/shaders/tile.hpp
@@ -55,7 +55,7 @@ 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];
- return { (x-y), (x+y+z*2)*T(.59) };
+ return { x-y, (x+y+z*2)*T(.59) };
}
template<typename T>