1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-06 18:00:17 +00:00

radar in euc_in_sl2 (not great)

This commit is contained in:
Zeno Rogue
2023-01-08 15:57:51 +01:00
parent 763a932aca
commit faee70ec3e
2 changed files with 10 additions and 1 deletions

View File

@@ -5073,7 +5073,10 @@ EX void make_actual_view() {
#endif
#if MAXMDIM >= 4
if(embedded_plane) {
if(nonisotropic) {
if(geom3::euc_in_sl2()) {
current_display->radar_transform = inverse(actual_view_transform * View);
}
else if(nonisotropic) {
transmatrix T = actual_view_transform * View;
ld z = -tC0(view_inverse(T)) [2];
transmatrix R = actual_view_transform;