fixed unused capture warning

This commit is contained in:
Zeno Rogue 2020-04-10 12:14:43 +02:00
parent 9a0024b1c4
commit d00498ad0b
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ auto hchook = addHook(hooks_drawcell, 100, draw_snow)
euc::build_torus3();
set_geometry(gCubeTiling);
snow_lambda = 20;
tour::on_restore([bak, &T0] { stop_game(); T0 = bak; euc::build_torus3(); start_game(); });
tour::on_restore([bak] { auto& T0 = euc::eu_input.user_axes; stop_game(); T0 = bak; euc::build_torus3(); start_game(); });
});
snow_slide(v, "Hyperbolic geometry", "To the contrary, in hyperbolic geometry, parallax works in a completely different way. Everything moves. This space is expanding everywhere. Exponentially. In every geometry, snowballs close to us behave in a similar way as in the Euclidean space.", [] {
set_geometry(gSpace534);