mirror of
https://github.com/astromaddie/lambda1-vr.git
synced 2026-10-25 16:14:46 +01:00
Merge branch 'master' of https://github.com/DrBeef/Lambda1VR
This commit is contained in:
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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user