1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

3d:: qezc/1379/ijkl now move in the 'y' direction

This commit is contained in:
? 2019-02-27 14:43:15 +01:00 committed by Zeno Rogue
parent b8913b39fd
commit 5ff834e310

View File

@ -94,6 +94,7 @@ void remission() {
hyperpoint move_destination_vec(int d) {
if(DIM == 2) return spin(-d * M_PI/4) * tC0(pushone());
else if(d&1) return cspin(0, 1, d > 4 ? M_PI/2 : -M_PI/2) * tC0(pushone());
else return cspin(0, 2, d * M_PI/4) * tC0(pushone());
}