1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00

do_klenize now activates on IDEAL flag

This commit is contained in:
Zeno Rogue 2022-04-23 00:53:32 +02:00
parent 24eccca370
commit c6cca03248

View File

@ -130,7 +130,7 @@ matrixitem genitem(const transmatrix& m1, const transmatrix& m2, int nsym) {
return mi;
}
bool do_kleinize() { return S3 >= OINF; }
bool do_kleinize() { return S3 >= OINF || (cgflags & qIDEAL); }
EX hyperpoint kleinize(hyperpoint h) {
if(GDIM == 2) return point3(h[0]/h[2], h[1]/h[2], 1);