summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-12-21 03:30:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-12-21 03:30:18 +0000
commitd8ee91b44e31cf1500926d37b7391e8c94bbf14a (patch)
tree7452ba1726a623e1e03a9adec07e60aa1298d23d /game/network/rail.h
parentGive UI builders an interface that can be programmatically called (diff)
downloadilt-d8ee91b44e31cf1500926d37b7391e8c94bbf14a.tar.bz2
ilt-d8ee91b44e31cf1500926d37b7391e8c94bbf14a.tar.xz
ilt-d8ee91b44e31cf1500926d37b7391e8c94bbf14a.zip
Fix calculating radius and length of curved links
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index c8effef..0aae718 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -62,8 +62,8 @@ public:
};
private:
- RailLinkCurve(
- NetworkLinkHolder<RailLinkCurve> &, const Node::Ptr &, const Node::Ptr &, GlobalPosition3D, const Arc);
+ RailLinkCurve(NetworkLinkHolder<RailLinkCurve> &, const Node::Ptr &, const Node::Ptr &, GlobalPosition3D centreBase,
+ RelativeDistance radius, Arc);
InstanceVertices<Vertex>::InstanceProxy instance;
};