1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

embeddings:: removed height_limit for Clifford torus since it seems buggy

This commit is contained in:
Zeno Rogue 2023-05-15 02:15:26 +02:00
parent a0aeb6f792
commit c77a5cef22

View File

@ -891,7 +891,7 @@ struct emb_euc_cylinder_sl2 : emb_euc_cylinder_twisted {
struct emb_euc_in_sph : emb_euclid_noniso {
bool is_euc_in_sph() override { return true; }
ld center_z() override { return 1; }
virtual ld height_limit(ld sign) override { return sign < 0 ? 0 : 90._deg; }
// virtual ld height_limit(ld sign) override { return sign < 0 ? 0 : 90._deg; }
hyperpoint actual_to_intermediate(hyperpoint a) override {
ld tx = hypot(a[0], a[2]);
ld ty = hypot(a[1], a[3]);