mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-06 22:05:06 +00:00
product:: fixed radar
This commit is contained in:
parent
508742e7a9
commit
4fd8a18e09
@ -761,6 +761,7 @@ pair<bool, hyperpoint> makeradar(hyperpoint h) {
|
|||||||
if(r < 1) h = h * (atanh(r) / r);
|
if(r < 1) h = h * (atanh(r) / r);
|
||||||
else return {false, h};
|
else return {false, h};
|
||||||
}
|
}
|
||||||
|
if(prod) h = product::inverse_exp(h);
|
||||||
if(nisot::local_perspective_used()) h = nisot::local_perspective * h;
|
if(nisot::local_perspective_used()) h = nisot::local_perspective * h;
|
||||||
|
|
||||||
if(WDIM == 3) {
|
if(WDIM == 3) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user