add source-sdk-2013

This commit is contained in:
nillerusr
2022-03-01 23:00:42 +03:00
parent 88b8830e8b
commit edc8d6c584
3288 changed files with 3731 additions and 1062455 deletions
+2 -5
View File
@@ -56,10 +56,7 @@ void DrawBones( matrix3x4_t const* pBones, int nNumBones, ragdoll_t const* pRagd
MatrixPosition( pBones[ iParentIndex ], from );
MatrixPosition( pBones[ iBoneIndex ], to );
if ( debugoverlay )
{
debugoverlay->AddLineOverlay( from, to, nRed, nGreen, nBlue, true, 0.0f );
}
debugoverlay->AddLineOverlay( from, to, nRed, nGreen, nBlue, true, 0.0f );
}
}
@@ -633,7 +630,7 @@ bool CReplayRagdollCache::GetFrame( C_BaseAnimating* pEntity, int nTick, bool* p
if ( pNextFrame && replay_ragdoll_blending.GetInt() )
{
// Get blended Eular angles - NOTE: The Lerp() here actually calls Lerp<QAngle>() which converts to quats and back
flInterpAmount = gpGlobals->interpolation_amount; Assert( flInterpAmount >= 0.0f && flInterpAmount <= 1.0f );
float flInterpAmount = gpGlobals->interpolation_amount; Assert( flInterpAmount >= 0.0f && flInterpAmount <= 1.0f );
AngleMatrix(
(const QAngle &)Lerp( flInterpAmount, pFrame->pAngles [ objectIndex ], pNextFrame->pAngles [ objectIndex ] ),
Lerp( flInterpAmount, pFrame->pPositions[ objectIndex ], pNextFrame->pPositions[ objectIndex ] ),