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:
parent
ba7b9d6097
commit
a8eef4b717
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user