|
Brunot
|
Description: A system to collect lines and render them all at once each frame for debug information. More...
#include "System/DebugDraw.h"#include "imgui.h"#include "Framework/Engine.h"#include "Framework/Library.h"#include "System/opengl.h"#include "Graphics/Vertex.h"#include "Graphics/VertexBuffer.h"#include "Graphics/Line.h"Namespaces | |
| namespace | sys |
| the type of elements in a basic_json container | |
Functions | |
| auto | operator<< (sys::DebugDraw *debug, const Line &line) -> sys::DebugDraw * |
| stream insertion operator for adding lines to the debug draw system Uses DebugDraw pointer instead of reference because Engine::getSystem<>() returns a pointer not a reference | |
Description: A system to collect lines and render them all at once each frame for debug information.
recommended uses are hitboxes, paths, relationships, grids, and vectors.
| auto operator<< | ( | sys::DebugDraw * | debug, |
| const Line & | line )->sys::DebugDraw * |
stream insertion operator for adding lines to the debug draw system Uses DebugDraw pointer instead of reference because Engine::getSystem<>() returns a pointer not a reference
| debug | a pointer to the debug system to add to |
| line | a reference to the line to add |