mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
product:: move other face_the_player stuff
This commit is contained in:
parent
4fd8a18e09
commit
b480286aa9
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user