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.

35 lines
727 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef GETINTERSECTINGSURFACES_STRUCT_H
  8. #define GETINTERSECTINGSURFACES_STRUCT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. struct model_t;
  13. class Vector;
  14. class SurfInfo;
  15. // Used by GetIntersectingSurfaces.
  16. class GetIntersectingSurfaces_Struct
  17. {
  18. public:
  19. model_t *m_pModel;
  20. const Vector *m_pCenter;
  21. const byte *m_pCenterPVS; // PVS for the leaf m_pCenter is in.
  22. float m_Radius;
  23. bool m_bOnlyVisible;
  24. SurfInfo *m_pInfos;
  25. int m_nMaxInfos;
  26. int m_nSetInfos;
  27. };
  28. #endif // GETINTERSECTINGSURFACES_STRUCT_H