mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 02:14:27 +00:00
embeddings:: fixed map over itself in spherical product embedding
This commit is contained in:
1 parent
d305896c96
commit
e4c775b986
1 file changed
+1
-1
+1
-1
@@ -591,7 +591,7 @@ struct emb_euc_in_product : emb_euclid_noniso {
|
||||
ld bz = zlevel(a);
|
||||
auto h1 = a / exp(bz);
|
||||
ld by = asin_auto(h1[1]);
|
||||
ld bx = atan_auto(h1[0] / h1[2]);
|
||||
ld bx = atan2_auto(h1[0], h1[2]);
|
||||
return hyperpoint(bx, by, bz, 1);
|
||||
}
|
||||
transmatrix get_lsti() override { return cspin90(2, 1); }
|
||||
|
||||
Reference in new issue
Block a user