diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-08 18:40:58 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-08 18:40:58 +0100 |
commit | 920ae293f6830833146a524345dfbf00669e785b (patch) | |
tree | b971a645b4bb3347ac1ccac31efc05b9445b4ca4 /game/network/network.impl.h | |
parent | Move addStraight to impl.h (diff) | |
download | ilt-920ae293f6830833146a524345dfbf00669e785b.tar.bz2 ilt-920ae293f6830833146a524345dfbf00669e785b.tar.xz ilt-920ae293f6830833146a524345dfbf00669e785b.zip |
Add a rather dumb builder for joining nodes
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r-- | game/network/network.impl.h | 7 |
1 files changed, 7 insertions, 0 deletions
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<T>::addStraight(glm::vec3 n1, glm::vec3 n2) { return addLink<typename T::StraightLink>(n1, n2); } + +template<typename T> +LinkPtr +NetworkOf<T>::addJoins(glm::vec3 n1, glm::vec3 n2) +{ + return addLink<typename T::StraightLink>(n1, n2); +} |