1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

product:: move other face_the_player stuff

This commit is contained in:
Zeno Rogue 2019-08-19 13:56:09 +02:00
parent 4fd8a18e09
commit b480286aa9

View File

@ -807,6 +807,7 @@ color_t kind_outline(eItem it) {
EX transmatrix face_the_player(const transmatrix V) { EX transmatrix face_the_player(const transmatrix V) {
if(GDIM == 2) return V; if(GDIM == 2) return V;
if(prod) return mscale(V, cos(ptick(750)) * cgi.plevel / 16);
if(nonisotropic) return spin_towards(V, C0, 2, 0); if(nonisotropic) return spin_towards(V, C0, 2, 0);
return rgpushxto0(tC0(V)); return rgpushxto0(tC0(V));
} }