mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-10 11:14:07 +00:00
click out-of-torus does nothing now
This commit is contained in:
parent
8c39251b6a
commit
fcec90d8fb
@ -244,7 +244,7 @@ double q3 = sqrt(double(3));
|
|||||||
|
|
||||||
bool outofmap(hyperpoint h) {
|
bool outofmap(hyperpoint h) {
|
||||||
if(euclid)
|
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)
|
else if(sphere)
|
||||||
return h[2] < .1 && h[2] > -.1 && h[1] > -.1 && h[1] < .1 && h[0] > -.1 && h[0] < .1;
|
return h[2] < .1 && h[2] > -.1 && h[1] > -.1 && h[1] < .1 && h[0] > -.1 && h[0] < .1;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user