summaryrefslogtreecommitdiff
path: root/game/network/link.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-07 12:04:33 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-07 12:04:33 +0000
commit68832526efafb4db60e5627eba6a9051585a4eb9 (patch)
treecb6059828786a60fa10c2017f43b7baf98ca86cc /game/network/link.h
parentLinks have length, ends have entry direction (diff)
downloadilt-68832526efafb4db60e5627eba6a9051585a4eb9.tar.bz2
ilt-68832526efafb4db60e5627eba6a9051585a4eb9.tar.xz
ilt-68832526efafb4db60e5627eba6a9051585a4eb9.zip
Factor a lot of maths and stuff into utility
Diffstat (limited to 'game/network/link.h')
-rw-r--r--game/network/link.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/game/network/link.h b/game/network/link.h
index b22d0d0..287ba14 100644
--- a/game/network/link.h
+++ b/game/network/link.h
@@ -37,14 +37,6 @@ public:
float length;
};
-template<typename T> struct PtrSorter {
- bool
- operator()(const T & a, const T & b) const
- {
- return *a < *b;
- }
-};
-
bool operator<(const glm::vec3 & a, const glm::vec3 & b);
bool operator<(const Node & a, const Node & b);