8 private float m_fSpeed;
11 private float m_fPitch;
16 if (!param.isManualInputEnabled)
20 float pitch =
GetInputManager().GetActionValue(
"ManualCameraRotatePitch");
25 float yawPrev = m_fYaw;
27 if (yaw == 0 && yawPrev != 0) yaw = yawPrev;
29 float pitchPrev = m_fPitch;
31 if (pitch == 0 && pitchPrev != 0) pitch = pitchPrev;
34 if (yaw == 0 && pitch == 0)
37 param.rotDelta += Vector(yaw, pitch, 0) * m_fSpeed * param.fov / Math.Max(
GetCameraEntity().GetDefaultFOV(), 1);
38 param.isManualInput =
true;
43 override bool EOnCameraInit()