summaryrefslogtreecommitdiff
path: root/game/network/network.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r--game/network/network.impl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h
index 6769320..d112bf7 100644
--- a/game/network/network.impl.h
+++ b/game/network/network.impl.h
@@ -53,6 +53,13 @@ NetworkOf<T>::candidateJoins(glm::vec3 n1, glm::vec3 n2)
template<typename T>
Link::CCollection
+NetworkOf<T>::candidateExtend(glm::vec3 n1, glm::vec3 n2)
+{
+ return {candidateLink<typename T::StraightLink>(n1, n2)};
+}
+
+template<typename T>
+Link::CCollection
NetworkOf<T>::addStraight(glm::vec3 n1, glm::vec3 n2)
{
return {addLink<typename T::StraightLink>(n1, n2)};
@@ -64,3 +71,10 @@ NetworkOf<T>::addJoins(glm::vec3 n1, glm::vec3 n2)
{
return {addLink<typename T::StraightLink>(n1, n2)};
}
+
+template<typename T>
+Link::CCollection
+NetworkOf<T>::addExtend(glm::vec3 n1, glm::vec3 n2)
+{
+ return {addLink<typename T::StraightLink>(n1, n2)};
+}