mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
rogueviz:: VR in ascending/descending
This commit is contained in:
@@ -260,6 +260,12 @@ void enable() {
|
||||
t *= 1000;
|
||||
|
||||
centerover = currentmap->gamestart();
|
||||
|
||||
#if CAP_VR
|
||||
if(vrhr::active())
|
||||
View = gpushxto0(interpolate_at(route, t));
|
||||
else
|
||||
#endif
|
||||
set_view(
|
||||
interpolate_at(route, t),
|
||||
interpolate_at(forwards, t),
|
||||
|
Reference in New Issue
Block a user