mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 18:30:34 +00:00
embeddings:: fixed Clifford torus
This commit is contained in:
parent
637feb315a
commit
bccb7b1d5d
@ -733,7 +733,7 @@ struct emb_euc_in_sph : emb_euclid_noniso {
|
||||
ld x0 = atan2(a[0], a[2]);
|
||||
ld y0 = atan2(a[1], a[3]);
|
||||
ld z0 = atan2(tx, ty);
|
||||
return hyperpoint(x0, y0, z0, 1);
|
||||
return hyperpoint(x0, y0, z0-1, 1);
|
||||
}
|
||||
transmatrix intermediate_to_actual_translation(hyperpoint i) override {
|
||||
return cspin(0, 2, i[0]) * cspin(1, 3, i[1]) * cspin(2, 3, i[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user