This commit is contained in:
Simon committed 2019-07-18 23:31:50 +01:00
commit c339bcf4e8
2 files changed
+3 -2

No files matched your search

@@ -1308,9 +1308,9 @@ static void ovrApp_HandleInput( ovrApp * app )
flashlightoffset[2] = offHandRemoteTracking->HeadPose.Pose.Position.z - hmdPosition[2];
QuatToYawPitchRoll(offHandRemoteTracking->HeadPose.Pose.Orientation, flashlightangles);
flashlightangles[YAW] += (cl.refdef.cl_viewangles[YAW] - hmdorientation[YAW]);
controllerYawHeading = -cl.refdef.cl_viewangles[YAW] + flashlightangles[YAW] - hmdorientation[YAW];
flashlightangles[YAW] += (cl.refdef.cl_viewangles[YAW] - hmdorientation[YAW]);
controllerYawHeading = -cl.refdef.cl_viewangles[YAW] + flashlightangles[YAW];
//Run
handleTrackedControllerButton(offHandTrackedRemoteState,
@@ -55,6 +55,7 @@ void VRRenderer::Frame(double time)
gEngfuncs.pfnClientCmd("fps_max 150");
//gEngfuncs.pfnClientCmd("fps_override 1");
gEngfuncs.pfnClientCmd("gl_vsync 0");
gEngfuncs.pfnClientCmd("crosshair 0");
gEngfuncs.pfnClientCmd("default_fov 110");
//gEngfuncs.pfnClientCmd("firstperson");