mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-04-25 02:01:23 +00:00
rogueviz:: embeddings:: do not use C++20 extension
This commit is contained in:
@@ -87,7 +87,7 @@ namespace embeddings {
|
||||
|
||||
double r, theta;
|
||||
if(!scan(f, r, theta)) { println(hlog, "Error: incorrect format of r/alpha\n"); exit(1); }
|
||||
pe->coords[id] = polar_point{.r = r, .theta = theta * degree};
|
||||
pe->coords[id] = polar_point{r, theta * degree};
|
||||
}
|
||||
|
||||
enable_embedding(pe);
|
||||
|
||||
Reference in New Issue
Block a user