click out-of-torus does nothing now

This commit is contained in:
Zeno Rogue 2017-11-07 14:17:13 +01:00
parent 8c39251b6a
commit fcec90d8fb
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ double q3 = sqrt(double(3));
bool outofmap(hyperpoint h) {
if(euclid)
return false; // h[0] * h[0] + h[1] * h[1] > 15 * eurad;
return h[2] < .5; // false; // h[0] * h[0] + h[1] * h[1] > 15 * eurad;
else if(sphere)
return h[2] < .1 && h[2] > -.1 && h[1] > -.1 && h[1] < .1 && h[0] > -.1 && h[0] < .1;
else

View File

@ -796,7 +796,7 @@ hyperpoint gethyper(ld x, ld y) {
}
}
if(!found) return hpxy(0,0);
if(!found) return Hypc;
double px = rx1 * TEXTURESIZE, py = (1-ry1) * TEXTURESIZE;