mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
rug:: euclid quotient auto-rotates correctly
This commit is contained in:
parent
9f6ca746cd
commit
20d230cadb
2
rug.cpp
2
rug.cpp
@ -253,7 +253,7 @@ EX rugpoint *addRugpoint(hyperpoint h, double dist) {
|
|||||||
m->valid = false;
|
m->valid = false;
|
||||||
|
|
||||||
if(euclid && quotient && !bounded) {
|
if(euclid && quotient && !bounded) {
|
||||||
hyperpoint h1 = eumove(euclid3::ascoord(euclid3::T0[1])) * C0;
|
hyperpoint h1 = inverse(models::euclidean_spin) * eumove(euclid3::ascoord(euclid3::T0[1])) * C0;
|
||||||
h1 /= sqhypot_d(2, h1);
|
h1 /= sqhypot_d(2, h1);
|
||||||
if(nonorientable) h1 /= 2;
|
if(nonorientable) h1 /= 2;
|
||||||
m->valid = good_shape = true;
|
m->valid = good_shape = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user