1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-21 04:39:58 +00:00

fixed the radar in SL

This commit is contained in:
Zeno Rogue 2020-07-28 13:18:28 +02:00
parent dcda11d740
commit c9168b59bd

View File

@ -33,8 +33,9 @@ pair<bool, hyperpoint> makeradar(shiftpoint h) {
if(r < 1) h1 = h1 * (atanh(r) / r);
else return {false, h1};
}
else
if(prod) h1 = product::inverse_exp(unshift(h));
else if(prod) h1 = product::inverse_exp(unshift(h));
else if(sl2) h1 = slr::get_inverse_exp(h);
else h1 = unshift(h);
if(nisot::local_perspective_used()) h1 = NLP * h1;