1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-17 11:42:07 +00:00

fixed 2D vector art displayed on sphere

This commit is contained in:
Zeno Rogue
2022-12-08 21:21:14 +01:00
parent 2857bc95dc
commit 107cae8f5c
2 changed files with 111 additions and 108 deletions
+1
View File
@@ -769,6 +769,7 @@ EX shiftmatrix face_the_player(const shiftmatrix V) {
return shiftless(cspin90(1, 2) * lrspintox(cspin90(2, 1) * uh) * xpush(hdist0(uh)) * cspin90(0, 2) * spin270());
}
#endif
if(embedded_plane && msphere) return shiftless(map_relative_push(unshift(V * zpush0(1))) * zpush(-1));
return rgpushxto0(tC0(V));
}