NcEngine
DebugRendering.h
1#pragma once
2
3#define NC_DEBUG_RENDERING_INCLUDE_TOKEN
4
5namespace nc::debug
6{
7enum class WireframeType
8{
9 Cube,
10 Plane,
11 Sphere,
12 Count
13};
14} // namespace nc::debug
15
16#ifdef NC_DEBUG_RENDERING_ENABLED
17#include "ncengine/debug/detail/DebugRenderer.h"
18#define NC_DEBUG_DRAW_WIREFRAME(type, matrix) nc::debug::DebugRendererAddWireframe(type, matrix);
19#else
20#define NC_DEBUG_DRAW_WIREFRAME(type, matrix);
21#endif
22
23#undef NC_DEBUG_RENDERING_INCLUDE_TOKEN