summaryrefslogtreecommitdiff
path: root/ui/builders/straight.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-02-09 13:02:09 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-02-09 13:02:09 +0000
commit62fd9391bbfde47177fb36434d9664e47f4cf656 (patch)
tree83c1361b41bac431f8dbddb92859fb28e76455a5 /ui/builders/straight.h
parentBig of validation on getSurface (diff)
downloadilt-62fd9391bbfde47177fb36434d9664e47f4cf656.tar.bz2
ilt-62fd9391bbfde47177fb36434d9664e47f4cf656.tar.xz
ilt-62fd9391bbfde47177fb36434d9664e47f4cf656.zip
Initial commit setting terrain during network construction
This is all in the wrong place, it shouldn't be part of the network interface.
Diffstat (limited to 'ui/builders/straight.h')
-rw-r--r--ui/builders/straight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/builders/straight.h b/ui/builders/straight.h
index 1717cad..0a6f290 100644
--- a/ui/builders/straight.h
+++ b/ui/builders/straight.h
@@ -13,7 +13,7 @@ private:
const Ray<GlobalPosition3D> & ray) override;
public:
- Link::CCollection create(Network * network, GlobalPosition3D p1, GlobalPosition3D p2) const;
+ Link::CCollection create(Network * network, const GeoData *, GlobalPosition3D p1, GlobalPosition3D p2) const;
private:
std::optional<GlobalPosition3D> p1;