summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index 3ab0c83..8fee27f 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -8,10 +8,13 @@
#include "gfx/renderable.h"
#include "link.h"
#include <glm/glm.hpp>
+#include <maths.h>
#include <memory>
#include <set>
+#include <sorting.hpp>
#include <utility>
#include <vector>
+
class Shader;
class Texture;
@@ -36,7 +39,6 @@ private:
RailLinkStraight(NodePtr, NodePtr, const glm::vec3 & diff);
};
-using Arc = std::pair<float, float>;
class RailLinkCurve : public RailLink {
public:
RailLinkCurve(const NodePtr &, const NodePtr &, glm::vec2);