mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-04-24 09:29:19 +00:00
OpenXR unused code removed
This commit is contained in:
parent
c6782b3941
commit
433d51ffe9
1 changed files with 0 additions and 11 deletions
|
@ -489,17 +489,6 @@ void VR_DrawFrame( engine_t* engine ) {
|
|||
IN_VRUpdateControllers( invViewTransform[0], frameState.predictedDisplayTime );
|
||||
IN_VRSyncActions();
|
||||
|
||||
//Projection used for drawing HUD models etc
|
||||
float hudScale = M_PI * 15.0f / 180.0f;
|
||||
const ovrMatrix4f monoVRMatrix = ovrMatrix4f_CreateProjectionFov(
|
||||
-hudScale, hudScale, hudScale, -hudScale, 1.0f, 0.0f );
|
||||
const ovrMatrix4f projectionMatrix = ovrMatrix4f_CreateProjectionFov(
|
||||
fov.angleLeft / vr.weapon_zoomLevel,
|
||||
fov.angleRight / vr.weapon_zoomLevel,
|
||||
fov.angleUp / vr.weapon_zoomLevel,
|
||||
fov.angleDown / vr.weapon_zoomLevel,
|
||||
1.0f, 0.0f );
|
||||
|
||||
engine->appState.LayerCount = 0;
|
||||
memset(engine->appState.Layers, 0, sizeof(ovrCompositorLayer_Union) * ovrMaxLayerCount);
|
||||
|
||||
|
|
Loading…
Reference in a new issue