leocad/common/debug.h

19 lines
415 B
C
Raw Normal View History

2011-09-07 23:06:51 +02:00
#ifndef _DEBUG_H_
#define _DEBUG_H_
2012-06-29 23:47:22 +02:00
2011-09-07 23:06:51 +02:00
#ifdef LC_DEBUG
2012-06-29 23:47:22 +02:00
#include "lc_math.h"
2011-09-07 23:06:51 +02:00
void RenderDebugPrimitives();
2012-06-29 23:47:22 +02:00
void AddDebugLine(const lcVector3& pt1, const lcVector3& pt2, const lcVector3& Color);
2011-09-07 23:06:51 +02:00
void ClearDebugLines();
2012-06-29 23:47:22 +02:00
void AddDebugQuad(const lcVector3& pt1, const lcVector3& pt2, const lcVector3& pt3, const lcVector3& pt4, const lcVector4& Color);
2011-09-07 23:06:51 +02:00
void ClearDebugQuads();
#endif // LC_DEBUG
2012-06-29 23:47:22 +02:00
2011-09-07 23:06:51 +02:00
#endif // _DEBUG_H_