Team Fortress 2 Source Code as on 22/4/2020
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.

31 lines
597 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef SURFINFO_H
  8. #define SURFINFO_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "mathlib/vplane.h"
  13. //#include "mathlib/vector.h"
  14. #define MAX_SURFINFO_VERTS 16
  15. class SurfInfo
  16. {
  17. public:
  18. // Shape of the surface.
  19. Vector m_Verts[ MAX_SURFINFO_VERTS ];
  20. unsigned long m_nVerts;
  21. // Plane of the surface.
  22. VPlane m_Plane;
  23. // For engine use only..
  24. void *m_pEngineData;
  25. };
  26. #endif // SURFINFO_H