summaryrefslogtreecommitdiff
path: root/ui/builders/freeExtend.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-07 13:04:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-07 13:04:31 +0000
commit6a1df3dfbae98a05e74c646cc216fbc19ffdb6d6 (patch)
tree46c42bcbef1f12c4f46d53b4e0c4736bea506b51 /ui/builders/freeExtend.h
parentUnified crossProduct (diff)
downloadilt-6a1df3dfbae98a05e74c646cc216fbc19ffdb6d6.tar.bz2
ilt-6a1df3dfbae98a05e74c646cc216fbc19ffdb6d6.tar.xz
ilt-6a1df3dfbae98a05e74c646cc216fbc19ffdb6d6.zip
Template Ray on position type
Diffstat (limited to 'ui/builders/freeExtend.h')
-rw-r--r--ui/builders/freeExtend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/builders/freeExtend.h b/ui/builders/freeExtend.h
index b276426..127fdc6 100644
--- a/ui/builders/freeExtend.h
+++ b/ui/builders/freeExtend.h
@@ -6,8 +6,10 @@ class GeoData;
class BuilderFreeExtend : public EditNetwork::Builder {
std::string hint() const override;
- void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e, const Ray & ray) override;
- void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e, const Ray & ray) override;
+ void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e,
+ const Ray<GlobalPosition3D> & ray) override;
+ void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e,
+ const Ray<GlobalPosition3D> & ray) override;
std::optional<Position3D> p1;
};