mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 02:37:55 +00:00
arcm:: in prepare_basics do compute_geometry first so that geuclid and ghyperbolic and correct
This commit is contained in:
@@ -633,6 +633,12 @@ void geometry_information::prepare_basics() {
|
||||
|
||||
xp_order = 0;
|
||||
|
||||
if(arcm::in()) {
|
||||
auto& ac = arcm::current_or_fake();
|
||||
if(fake::in_ext()) ac = arcm::current;
|
||||
ac.compute_geometry();
|
||||
}
|
||||
|
||||
emb = make_embed();
|
||||
bool geuclid = euclid;
|
||||
bool ghyperbolic = hyperbolic;
|
||||
|
Reference in New Issue
Block a user