1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

nisot:: face_the_player implemented

This commit is contained in:
Zeno Rogue 2019-08-10 22:29:34 +02:00
parent dabd7889e8
commit a1faa299df

View File

@ -804,7 +804,7 @@ color_t kind_outline(eItem it) {
EX transmatrix face_the_player(const transmatrix V) { EX transmatrix face_the_player(const transmatrix V) {
if(DIM == 2) return V; if(DIM == 2) return V;
if(nonisotropic) return V * cspin(0, 2, ptick(618, 0)); if(nonisotropic) return spin_towards(V, C0, 2, 0);
return rgpushxto0(tC0(V)); return rgpushxto0(tC0(V));
} }