From c42a06772b52fac1273fd53366d88b96a423fb73 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 8 Aug 2023 11:50:55 +0200 Subject: [PATCH] adjusted nilrider and bringris to improved lps --- rogueviz/bringris.cpp | 4 ++-- rogueviz/nilrider/nilrider.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rogueviz/bringris.cpp b/rogueviz/bringris.cpp index 5f4c75dd..d74dbfd1 100644 --- a/rogueviz/bringris.cpp +++ b/rogueviz/bringris.cpp @@ -2063,8 +2063,8 @@ void default_config() { param_i(bgeom, "bringris-geometry", 0); lps_add(lps_bringris, ray::want_use, ray::want_use); #if CAP_VR - lps_add_enum(lps_bringris, vrhr::hsm, vrhr::hsm); - lps_add_enum(lps_bringris, vrhr::eyes, vrhr::eyes); + lps_add(lps_bringris, vrhr::hsm, vrhr::hsm); + lps_add(lps_bringris, vrhr::eyes, vrhr::eyes); #endif param_b(use_raycaster, "bringris-ray"); diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index 9ac9c973..ce275552 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -591,8 +591,8 @@ void default_settings() { lps_add(lps_nilrider, patterns::whichCanvas, 0); #if CAP_VR - lps_add_enum(lps_nilrider, vrhr::hsm, vrhr::eHeadset::reference); - lps_add_enum(lps_nilrider, vrhr::eyes, vrhr::eEyes::equidistant); + lps_add(lps_nilrider, vrhr::hsm, vrhr::eHeadset::reference); + lps_add(lps_nilrider, vrhr::eyes, vrhr::eEyes::equidistant); lps_add(lps_nilrider, vrhr::absolute_unit_in_meters, 6); #endif }