1
0
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:
Zeno Rogue
2022-06-23 08:59:14 +02:00
parent 3b816f46fc
commit de4b436d48
2 changed files with 26 additions and 0 deletions

View File

@@ -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),