mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
do_klenize now activates on IDEAL flag
This commit is contained in:
parent
24eccca370
commit
c6cca03248
@ -130,7 +130,7 @@ matrixitem genitem(const transmatrix& m1, const transmatrix& m2, int nsym) {
|
|||||||
return mi;
|
return mi;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool do_kleinize() { return S3 >= OINF; }
|
bool do_kleinize() { return S3 >= OINF || (cgflags & qIDEAL); }
|
||||||
|
|
||||||
EX hyperpoint kleinize(hyperpoint h) {
|
EX hyperpoint kleinize(hyperpoint h) {
|
||||||
if(GDIM == 2) return point3(h[0]/h[2], h[1]/h[2], 1);
|
if(GDIM == 2) return point3(h[0]/h[2], h[1]/h[2], 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user