summaryrefslogtreecommitdiff
path: root/public/surfinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/surfinfo.h')
-rw-r--r--public/surfinfo.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/public/surfinfo.h b/public/surfinfo.h
new file mode 100644
index 0000000..a4d4dba
--- /dev/null
+++ b/public/surfinfo.h
@@ -0,0 +1,31 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+#ifndef SURFINFO_H
+#define SURFINFO_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "mathlib/vplane.h"
+
+//#include "mathlib/vector.h"
+#define MAX_SURFINFO_VERTS 16
+class SurfInfo
+{
+public:
+ // Shape of the surface.
+ Vector m_Verts[ MAX_SURFINFO_VERTS ];
+ unsigned long m_nVerts;
+
+ // Plane of the surface.
+ VPlane m_Plane;
+
+ // For engine use only..
+ void *m_pEngineData;
+};
+
+#endif // SURFINFO_H