mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
gpushxto0 no longer returns an incorrect result in nonisotropic
This commit is contained in:
1 parent
87168241ee
commit
5c98118da3
1 file changed
+2
@@ -702,6 +702,8 @@ EX transmatrix rpushxto0(const hyperpoint& H) {
|
||||
|
||||
EX transmatrix ggpushxto0(const hyperpoint& H, ld co) {
|
||||
if(translatable) {
|
||||
if(nonisotropic)
|
||||
return co > 0 ? eupush(H) : inverse(eupush(H));
|
||||
return eupush(co * H);
|
||||
}
|
||||
if(prod) {
|
||||
|
||||
Reference in new issue
Block a user