summaryrefslogtreecommitdiff
path: root/game/network/network.impl.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-13 20:34:25 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-13 20:34:25 +0100
commit6ad0230b50be3e867e4ea1a1e33fd30c7487ec4a (patch)
tree00c0e894d00c17a8f7634df6f3c465b4023975b1 /game/network/network.impl.h
parentStandard typedefs for Node (diff)
downloadilt-6ad0230b50be3e867e4ea1a1e33fd30c7487ec4a.tar.bz2
ilt-6ad0230b50be3e867e4ea1a1e33fd30c7487ec4a.tar.xz
ilt-6ad0230b50be3e867e4ea1a1e33fd30c7487ec4a.zip
Standard typedefs for Link
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r--game/network/network.impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h
index 4e2b37e..68da5d9 100644
--- a/game/network/network.impl.h
+++ b/game/network/network.impl.h
@@ -15,7 +15,7 @@ NetworkOf<T>::render(const Shader & shader) const
template<typename T>
void
-NetworkOf<T>::joinLinks(const LinkPtr & l) const
+NetworkOf<T>::joinLinks(const Link::Ptr & l) const
{
for (const auto & ol : links.objects) {
Network::joinLinks(l, ol);
@@ -23,7 +23,7 @@ NetworkOf<T>::joinLinks(const LinkPtr & l) const
}
template<typename T>
-LinkPtr
+Link::Ptr
NetworkOf<T>::intersectRayLinks(const Ray & ray) const
{
// Click link
@@ -38,14 +38,14 @@ NetworkOf<T>::intersectRayLinks(const Ray & ray) const
}
template<typename T>
-LinkCPtr
+Link::CPtr
NetworkOf<T>::addStraight(glm::vec3 n1, glm::vec3 n2)
{
return addLink<typename T::StraightLink>(n1, n2);
}
template<typename T>
-CLinks
+Link::CCollection
NetworkOf<T>::addJoins(glm::vec3 n1, glm::vec3 n2)
{
return {addLink<typename T::StraightLink>(n1, n2)};