mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
product: fixed hpxy in S2xE -- the bug caused asymmetric models
This commit is contained in:
parent
5bd291784b
commit
0d5625221e
@ -305,7 +305,7 @@ EX ld edge_of_triangle_with_angles(ld alpha, ld beta, ld gamma) {
|
||||
}
|
||||
|
||||
EX hyperpoint hpxy(ld x, ld y) {
|
||||
return hpxyz(x,y, sl2 ? sqrt(1+x*x+y*y) : translatable ? 1 : sphere ? sqrt(1-x*x-y*y) : sqrt(1+x*x+y*y));
|
||||
return PIU(hpxyz(x,y, sl2 ? sqrt(1+x*x+y*y) : translatable ? 1 : sphere ? sqrt(1-x*x-y*y) : sqrt(1+x*x+y*y)));
|
||||
}
|
||||
|
||||
EX hyperpoint hpxy3(ld x, ld y, ld z) {
|
||||
|
Loading…
Reference in New Issue
Block a user