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.

41 lines
1.0 KiB

  1. //====== Copyright � 1996-2009, Valve Corporation, All rights reserved. =====//
  2. //
  3. // Globals applyign to Eyeballs
  4. //
  5. //===========================================================================//
  6. #ifndef DMEEYEBALLGLOBALS_H
  7. #define DMEEYEBALLGLOBALS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // Valve includes
  12. #include "datamodel/dmattributevar.h"
  13. #include "datamodel/dmelement.h"
  14. //-----------------------------------------------------------------------------
  15. // Forward Declarations
  16. //-----------------------------------------------------------------------------
  17. class CDmeDag;
  18. //-----------------------------------------------------------------------------
  19. // Globals applying to Eyeballs
  20. //-----------------------------------------------------------------------------
  21. class CDmeEyeballGlobals : public CDmElement
  22. {
  23. DEFINE_ELEMENT( CDmeEyeballGlobals, CDmElement );
  24. public:
  25. CDmaVar< Vector > m_vEyePosition; // The position of the eye
  26. CDmaVar< float > m_flMaxEyeDeflection; // The maximum amount of eye deflection
  27. };
  28. #endif // DMEEYEBALLGLOBALS_H