summaryrefslogtreecommitdiff
path: root/common/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.h')
-rw-r--r--common/debug.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/debug.h b/common/debug.h
new file mode 100644
index 0000000..88554c9
--- /dev/null
+++ b/common/debug.h
@@ -0,0 +1,17 @@
+#ifndef _DEBUG_H_
+#define _DEBUG_H_
+#ifdef LC_DEBUG
+
+#include "algebra.h"
+
+void RenderDebugPrimitives();
+
+void AddDebugLine(const Point3& pt1, const Point3& pt2, const Vector3& Color);
+void ClearDebugLines();
+
+void AddDebugQuad(const Point3& pt1, const Point3& pt2, const Point3& pt3, const Point3& pt4, const Vector4& Color);
+void ClearDebugQuads();
+
+
+#endif // LC_DEBUG
+#endif // _DEBUG_H_