summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-21 11:15:20 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-21 11:15:20 +0000
commitdcf4eed5fe141be94bea41231d7d11fc6f9be89f (patch)
tree6c4bbc7beb4a0affb0008078f98fb7c023d16cea /application
parentFix test-obj by splitting mesh processing (diff)
downloadilt-dcf4eed5fe141be94bea41231d7d11fc6f9be89f.tar.bz2
ilt-dcf4eed5fe141be94bea41231d7d11fc6f9be89f.tar.xz
ilt-dcf4eed5fe141be94bea41231d7d11fc6f9be89f.zip
Add more test rails
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 6dd752b..69b62ba 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -65,11 +65,13 @@ public:
auto rl = world.create<RailLinks>();
{
- const glm::vec3 j {-1100, 5, -1100}, k {-1100, 15, -1000}, l {-1150, 30, -1050}, m {-1050, 10, -1050};
+ const glm::vec3 j {-1100, 15, -1100}, k {-1100, 15, -1000}, l {-1150, 10, -1050}, m {-1050, 10, -1050};
rl->addLink<RailLinkStraight>(j, k);
rl->addLink<RailLinkCurve>(l, k, glm::vec2 {l.x, k.z});
auto l3 = rl->addLink<RailLinkStraight>(l, m);
rl->addLink<RailLinkCurve>(m, j, glm::vec2 {m.x, j.z});
+ rl->addLink<RailLinkCurve>(k, m, glm::vec2 {m.x, k.z});
+ rl->addLink<RailLinkCurve>(j, l, glm::vec2 {l.x, j.z});
auto loco = world.create<Brush47>(l3);
for (int n = 0; n < 6; n++) {
loco->wagons.push_back(world.create<Brush47Wagon>(l3));