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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h
index c5da3f0..f4466b7 100644
--- a/game/network/network.impl.h
+++ b/game/network/network.impl.h
@@ -36,3 +36,10 @@ NetworkOf<T>::intersectRayLinks(const Ray & ray) const
}
return {};
}
+
+template<typename T>
+LinkPtr
+NetworkOf<T>::addStraight(glm::vec3 n1, glm::vec3 n2)
+{
+ return addLink<typename T::StraightLink>(n1, n2);
+}