1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

product:: fixed radar

This commit is contained in:
Zeno Rogue 2019-08-19 13:55:35 +02:00
parent 508742e7a9
commit 4fd8a18e09

View File

@ -761,6 +761,7 @@ pair<bool, hyperpoint> makeradar(hyperpoint h) {
if(r < 1) h = h * (atanh(r) / r);
else return {false, h};
}
if(prod) h = product::inverse_exp(h);
if(nisot::local_perspective_used()) h = nisot::local_perspective * h;
if(WDIM == 3) {