summaryrefslogtreecommitdiff
path: root/ui/builders/straight.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-14 18:15:53 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-14 18:15:53 +0100
commit0d59b73de4e51a3a5b3c680f3dca97c2b942cc09 (patch)
treea4db615632e0d0ce7f4edb5cf57e60d39198bc87 /ui/builders/straight.h
parentNetwork candidate links (diff)
downloadilt-0d59b73de4e51a3a5b3c680f3dca97c2b942cc09.tar.bz2
ilt-0d59b73de4e51a3a5b3c680f3dca97c2b942cc09.tar.xz
ilt-0d59b73de4e51a3a5b3c680f3dca97c2b942cc09.zip
Builders manage a collection of candidate links rendered by the base builder
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 77847dd..1cde2b0 100644
--- a/ui/builders/straight.h
+++ b/ui/builders/straight.h
@@ -5,9 +5,9 @@ class Network;
class GeoData;
class BuilderStraight : public EditNetwork::Builder {
- void render(const Shader &) const override;
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 create(Network * network, glm::vec3 p1, glm::vec3 p2) const;