1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +00:00

fake for GP(1,1) in S3==4

This commit is contained in:
Zeno Rogue
2024-06-21 18:34:37 +02:00
parent 4811cdd183
commit 5b55da3090
3 changed files with 16 additions and 6 deletions

View File

@@ -733,6 +733,7 @@ EX namespace gp {
next = point3(x+y/2., -y * sqrt(3) / 2, 0);
ld scale = 1 / hypot_d(2, next);
if(!GOLDBERG) scale = 1;
if(fake::in() && x == 1 && y == 1) scale = 1;
cgi.crossf *= scale;
cgi.hexhexdist *= scale;
cgi.hexvdist *= scale;