summaryrefslogtreecommitdiff
path: root/ui/builders/straight.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-07 17:52:58 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-07 17:52:58 +0000
commit7f4caec1330bf240f7d4b6c76d46ea7df90c1b25 (patch)
tree9ad902eaa211898059d43b505593be93f1e8b221 /ui/builders/straight.h
parentRemove Position3D from tests (diff)
downloadilt-7f4caec1330bf240f7d4b6c76d46ea7df90c1b25.tar.bz2
ilt-7f4caec1330bf240f7d4b6c76d46ea7df90c1b25.tar.xz
ilt-7f4caec1330bf240f7d4b6c76d46ea7df90c1b25.zip
Remove PositionxD from Network editors
Diffstat (limited to 'ui/builders/straight.h')
-rw-r--r--ui/builders/straight.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/builders/straight.h b/ui/builders/straight.h
index 63f9a40..28eb66e 100644
--- a/ui/builders/straight.h
+++ b/ui/builders/straight.h
@@ -11,7 +11,7 @@ class BuilderStraight : public EditNetwork::Builder {
void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e,
const Ray<GlobalPosition3D> & ray) override;
- void create(Network * network, Position3D p1, Position3D p2) const;
+ void create(Network * network, GlobalPosition3D p1, GlobalPosition3D p2) const;
- std::optional<Position3D> p1;
+ std::optional<GlobalPosition3D> p1;
};