summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/geoData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.h b/game/geoData.h
index f599552..6c6ae26 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -66,7 +66,7 @@ public:
{
const auto & t {*this};
return t[0] + GlobalPosition<Dim>(RelativePosition<Dim>(t[1] - t[0]) * bari.x)
- + GlobalPosition<Dim>(RelativePosition<Dim>(t[2] - t[1]) * bari.y);
+ + GlobalPosition<Dim>(RelativePosition<Dim>(t[2] - t[0]) * bari.y);
}
};