diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-14 13:12:08 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-14 13:12:08 +0000 |
commit | ca900869afbb3f0ec3204d039d77939ff216b117 (patch) | |
tree | 58222cd850351790a76353c19e538d07dfaace58 /game/network | |
parent | Floating point seconds TickDuration (diff) | |
download | ilt-ca900869afbb3f0ec3204d039d77939ff216b117.tar.bz2 ilt-ca900869afbb3f0ec3204d039d77939ff216b117.tar.xz ilt-ca900869afbb3f0ec3204d039d77939ff216b117.zip |
Correctly scaled rails
Diffstat (limited to 'game/network')
-rw-r--r-- | game/network/rail.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/game/network/rail.cpp b/game/network/rail.cpp index 1ed59bd..fd2ea08 100644 --- a/game/network/rail.cpp +++ b/game/network/rail.cpp @@ -46,10 +46,10 @@ constexpr const std::array<std::pair<glm::vec3, float>, 4> railCrossSection {{ // ___________ // _/ \_ // left to right - {{-1.F, 0.F, 0.F}, 0.F}, - {{-.75F, .25F, 0.F}, 0.125F}, - {{.75F, .25F, 0.F}, 0.875F}, - {{1.F, 0.F, 0.F}, 1.F}, + {{-1.9F, 0.F, 0.F}, 0.F}, + {{-1.43F, .25F, 0.F}, 0.125F}, + {{1.43F, .25F, 0.F}, 0.875F}, + {{1.9F, 0.F, 0.F}, 1.F}, }}; constexpr auto sleepers {5.F}; // There are 5 repetitions of sleepers in the texture |