Skip to content

Commit

Permalink
Merge pull request #289 from johnr14/master
Browse files Browse the repository at this point in the history
Linux bug fix, still lots to do.
  • Loading branch information
CarlKenner committed Sep 28, 2018
2 parents 31f3128 + 59839a6 commit 0df0e24
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
@@ -1,3 +1,3 @@
[submodule "neo/libs/OpenVR"]
path = neo/libs/OpenVR
[submodule "neo/libs/openvr"]
path = neo/libs/openvr
url = https://github.com/ValveSoftware/openvr.git
6 changes: 3 additions & 3 deletions neo/d3xp/IK.cpp
Expand Up @@ -1412,9 +1412,9 @@ void idIK_Reach::Evaluate()
gameRenderWorld->DebugArrow( colorMagenta, handOrigin, handOrigin + handDir * 8.0f, 1 );
else
gameRenderWorld->DebugArrow( colorRed, handOrigin, handOrigin + handDir * 8.0f, 1 );
gameRenderWorld->DrawTextA( va( "%.2f, %.2f, %.2f", localHandDir.x, localHandDir.y, localHandDir.z ), handOrigin + handDir * 11.0f, 0.06f, colorWhite, modelAxis );
gameRenderWorld->DrawTextA( va( "%.2f, %.2f, %.2f", handPos[i].x, handPos[i].y, handPos[i].z ), handOrigin + handDir * 9.0f, 0.04f, colorWhite, modelAxis );
gameRenderWorld->DrawTextA( va( "%.2f, %.2f, %.2f", shoulderPos[i].x, shoulderPos[i].y, shoulderPos[i].z ), shoulderOrigin + handDir * 11.0f, 0.04f, colorWhite, modelAxis );
gameRenderWorld->DrawText( va( "%.2f, %.2f, %.2f", localHandDir.x, localHandDir.y, localHandDir.z ), handOrigin + handDir * 11.0f, 0.06f, colorWhite, modelAxis );
gameRenderWorld->DrawText( va( "%.2f, %.2f, %.2f", handPos[i].x, handPos[i].y, handPos[i].z ), handOrigin + handDir * 9.0f, 0.04f, colorWhite, modelAxis );
gameRenderWorld->DrawText( va( "%.2f, %.2f, %.2f", shoulderPos[i].x, shoulderPos[i].y, shoulderPos[i].z ), shoulderOrigin + handDir * 11.0f, 0.04f, colorWhite, modelAxis );
gameRenderWorld->DebugLine( colorCyan, shoulderOrigin, elbowOrigin );
gameRenderWorld->DebugLine( colorRed, elbowOrigin, handOrigin );
gameRenderWorld->DebugArrow( colorYellow, elbowOrigin, elbowOrigin + elbowDir * 8.0f, 1 );
Expand Down
2 changes: 1 addition & 1 deletion neo/d3xp/Player.cpp
Expand Up @@ -2734,7 +2734,7 @@ void idPlayerHand::debugPrint()
else
{
common->Printf( " currentWeapon = %s = %d%s\n", GetCurrentWeaponString().c_str(), currentWeapon, s.c_str() );
common->Printf( " idealWeapon = %d, weaponSwitchTime (unused?) = %dms\n", idealWeapon, weaponSwitchTime - gameLocal.time );
common->Printf( " idealWeapon = %d, weaponSwitchTime (unused?) = %dms\n", idealWeapon.Get(), weaponSwitchTime - gameLocal.time );
}
common->Printf( " previousWeapon = %d\n", previousWeapon );
idWeapon* weap = weapon.GetEntity();
Expand Down
1 change: 0 additions & 1 deletion neo/libs/OpenVR
Submodule OpenVR deleted from ebdea1
1 change: 1 addition & 0 deletions neo/libs/openvr
Submodule openvr added at 6aaceb
5 changes: 1 addition & 4 deletions neo/vr/Vr.h
Expand Up @@ -41,7 +41,7 @@ If you have questions concerning this license or the applicable additional terms
#ifdef USE_OVR
#include "..\LibOVR\Include\OVR_CAPI_Audio.h"
#endif
#include "../libs/OpenVR/headers/openvr.h"
#include "../libs/openvr/headers/openvr.h"


#ifndef __VR_H__
Expand Down Expand Up @@ -643,6 +643,3 @@ typedef enum
} vr_weaponcycle_t;

#endif



0 comments on commit 0df0e24

Please sign in to comment.