private void UpdateShakes()
{
// apply camera shakes
if (ShakeSpeed != 0.0f)
{
m_Yaw -= m_Shake.x; // subtract shake from last frame or camera will drift
m_Pitch -= m_Shake.y;
m_Shake = Vector3.Scale(vp_SmoothRandom.GetVector3Centered(ShakeSpeed), ShakeAmplitude);
m_Yaw += m_Shake.x; // apply new shake
m_Pitch += m_Shake.y;
m_RotationSpring.AddForce(0, 0, m_Shake.z);
}
}