1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-20 06:03:01 +00:00

fixed set_view for 2.5D

This commit is contained in:
Zeno Rogue 2021-08-08 18:29:35 +02:00
parent ba7b9d6097
commit a8eef4b717

View File

@ -2938,7 +2938,7 @@ EX void shift_view_towards(shiftpoint H, ld l) {
}
EX void set_view(hyperpoint camera, hyperpoint forward, hyperpoint upward) {
if(WDIM == 2) {
if(GDIM == 2) {
View = gpushxto0(camera);
View = spin(90*degree) * spintox(View * upward) * View;
return;