mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-08 04:12:50 +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) {
|
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) {
|
EX hyperpoint hpxy3(ld x, ld y, ld z) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user