diff options
Diffstat (limited to 'Runtime/Misc/DebugUtility.h')
-rw-r--r-- | Runtime/Misc/DebugUtility.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Runtime/Misc/DebugUtility.h b/Runtime/Misc/DebugUtility.h new file mode 100644 index 0000000..90d355c --- /dev/null +++ b/Runtime/Misc/DebugUtility.h @@ -0,0 +1,30 @@ +#ifndef DEBUGUTILITY_H +#define DEBUGUTILITY_H + +class Vector3f; +class ColorRGBAf; +class EditorExtension; + +#if GAMERELEASE + +//#define DebugDrawLine (a,b,c,d) ; +//#define ClearLines () ; +//#define PauseEditor () ; +inline void DebugDrawLine (const Vector3f& p0, const Vector3f& p1, const ColorRGBAf& color, double durationSeconds, bool depthTest){} +inline void ClearLines (){} +inline void ClearAllLines (){} +inline void PauseEditor (){} + +#else + +void DebugDrawLine (const Vector3f& p0, const Vector3f& p1, const ColorRGBAf& color, double durationSeconds, bool depthTest); +void ClearLines (); +void ClearAllLines (); +void PauseEditor (); + +void DrawDebugLinesGizmo (); + +#endif + + +#endif |