1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 02:34:48 +00:00
This commit is contained in:
Zeno Rogue 2018-11-07 01:03:35 +01:00
parent d1f6b1fff3
commit e0afc2b83d

View File

@ -296,6 +296,7 @@ hyperpoint find_point(ld t) {
auto &dict = ep.extra_params; auto &dict = ep.extra_params;
dict["t"] = t; dict["t"] = t;
dict["s"] = ticks / 1000.; dict["s"] = ticks / 1000.;
dict["ms"] = ticks;
dict["phi"] = t * 2 * M_PI; dict["phi"] = t * 2 * M_PI;
dict["x"] = tan(t * M_PI - M_PI/2); dict["x"] = tan(t * M_PI - M_PI/2);
for(auto& ff: formula) { for(auto& ff: formula) {