mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-27 21:11:20 +00:00
2d3d:: mouse reading
This commit is contained in:
@@ -668,7 +668,9 @@ bool playerfound; // has player been found in the last drawing?
|
||||
double q3 = sqrt(double(3));
|
||||
|
||||
bool outofmap(hyperpoint h) {
|
||||
if(euclid)
|
||||
if(GDIM == 3)
|
||||
return false;
|
||||
else if(euclid)
|
||||
return h[2] < .5; // false; // h[0] * h[0] + h[1] * h[1] > 15 * crossf;
|
||||
else if(sphere)
|
||||
return h[2] < .1 && h[2] > -.1 && h[1] > -.1 && h[1] < .1 && h[0] > -.1 && h[0] < .1;
|
||||
|
||||
Reference in New Issue
Block a user