mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
3d:: qezc/1379/ijkl now move in the 'y' direction
This commit is contained in:
parent
b8913b39fd
commit
5ff834e310
@ -94,6 +94,7 @@ void remission() {
|
|||||||
|
|
||||||
hyperpoint move_destination_vec(int d) {
|
hyperpoint move_destination_vec(int d) {
|
||||||
if(DIM == 2) return spin(-d * M_PI/4) * tC0(pushone());
|
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());
|
else return cspin(0, 2, d * M_PI/4) * tC0(pushone());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user