summaryrefslogtreecommitdiff
path: root/game/geoData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/geoData.cpp')
-rw-r--r--game/geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index f4d9f65..aaa2548 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -453,7 +453,7 @@ GeoData::setHeights(const std::span<const GlobalPosition3D> triangleStrip)
return extrusionDir;
};
// Previous half edge end to current half end start arc tangents
- const Arc arc {p1, p1 + (e0 || 0.F), p1 + (e1 || 0.F)};
+ const Arc arc {e0, e1};
const auto limit = std::floor((arc.second - arc.first) * 5.F / pi);
const auto inc = (arc.second - arc.first) / limit;
for (float step = 1; step < limit; step += 1.F) {