Brunot
Loading...
Searching...
No Matches
DebugDraw.h File Reference
#include "Framework/System.h"
#include "Graphics/VAO.h"
#include "Graphics/Vertex.h"
Include dependency graph for DebugDraw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sys::DebugDraw

Namespaces

namespace  sys
 the type of elements in a basic_json container

Macros

#define DEBUG_DRAW_START_ACTIVE   false

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

Macro Definition Documentation

◆ DEBUG_DRAW_START_ACTIVE

#define DEBUG_DRAW_START_ACTIVE   false

Function Documentation

◆ operator<<()

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

Parameters
debuga pointer to the debug system to add to
linea reference to the line to add
Returns
a pointer to the DebugDraw system to allow chaining