diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-03 00:08:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-03 00:08:47 +0000 |
commit | 94311f9c4e82b7475802b1934cc0c5b243e0cd2f (patch) | |
tree | 5ef23f6c1151917eb723b67c262da0168e42343c /game/network/link.h | |
parent | Our own matrix rotations (diff) | |
download | ilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.tar.bz2 ilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.tar.xz ilt-94311f9c4e82b7475802b1934cc0c5b243e0cd2f.zip |
Replace Transform with Location
Simpler, unbinds the transformation matrices for location, now done just in the shader.
Diffstat (limited to 'game/network/link.h')
-rw-r--r-- | game/network/link.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/network/link.h b/game/network/link.h index 4968eba..e541975 100644 --- a/game/network/link.h +++ b/game/network/link.h @@ -2,8 +2,8 @@ #define LINK_H #include <array> -#include <gfx/gl/transform.h> #include <glm/glm.hpp> +#include <location.hpp> #include <memory> #include <special_members.hpp> #include <utility> @@ -39,7 +39,7 @@ public: NO_COPY(Link); NO_MOVE(Link); - [[nodiscard]] virtual Transform positionAt(float dist, unsigned char start) const = 0; + [[nodiscard]] virtual Location positionAt(float dist, unsigned char start) const = 0; std::array<End, 2> ends; float length; |