From 920ae293f6830833146a524345dfbf00669e785b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 8 Oct 2022 18:40:58 +0100 Subject: Add a rather dumb builder for joining nodes --- game/network/network.impl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'game/network/network.impl.h') diff --git a/game/network/network.impl.h b/game/network/network.impl.h index f4466b7..37d03f8 100644 --- a/game/network/network.impl.h +++ b/game/network/network.impl.h @@ -43,3 +43,10 @@ NetworkOf::addStraight(glm::vec3 n1, glm::vec3 n2) { return addLink(n1, n2); } + +template +LinkPtr +NetworkOf::addJoins(glm::vec3 n1, glm::vec3 n2) +{ + return addLink(n1, n2); +} -- cgit v1.2.3