Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
832 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #if !defined( PREDICTION_PRIVATE_H )
  14. #define PREDICTION_PRIVATE_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. // point on plane side epsilon
  19. #define ON_EPSILON 0.1
  20. #define MAX_FORWARD 6
  21. // Use smoothing if error is > this
  22. #define MIN_CORRECTION_DISTANCE 0.25f
  23. // Complain if error is > this and we have cl_showerror set
  24. #define MIN_PREDICTION_EPSILON 0.5f
  25. // Above this is assumed to be a teleport, don't smooth, etc.
  26. #define MAX_PREDICTION_ERROR 64.0f
  27. #endif // PREDICTION_PRIVATE_H