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.

29 lines
767 B

  1. //========= Copyright � 1996-2009, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef BASEPROJECTEDENTITY_SHARED_H
  8. #define BASEPROJECTEDENTITY_SHARED_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "cbase.h"
  13. #if defined( GAME_DLL )
  14. #include "baseprojectedentity.h"
  15. #else
  16. #include "c_baseprojectedentity.h"
  17. #endif
  18. // Create these a small amount in front of portals they redirect through
  19. // and in front of solid objects they project into to prevent z fighting and stuck-in-solid problems.
  20. #define PROJECTION_END_POINT_EPSILON 0.1f
  21. #define PROJECTOR_MAX_LENGTH 4096
  22. #endif // BASEPROJECTEDENTITY_SHARED_H