Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
There are several vertex pathfinders running asynchronously, so their debug output might conflict. More...
#include <VertexPathfinder.h>
Public Member Functions | |
void | SetDebugOverlay (bool enabled) |
void | RenderSubmit (SceneCollector &collector) |
Protected Member Functions | |
void | DebugRenderGoal (const CSimContext &simContext, const PathGoal &goal) |
void | DebugRenderGraph (const CSimContext &simContext, const std::vector< Vertex > &vertexes, const std::vector< Edge > &edges, const std::vector< Square > &edgeSquares) |
void | DebugRenderEdges (const CSimContext &simContext, bool visible, CFixedVector2D curr, CFixedVector2D npos) |
Protected Attributes | |
std::atomic< bool > | m_DebugOverlay = false |
std::vector< SOverlayLine > | m_DebugOverlayShortPathLines |
std::vector< SOverlayLine > | m_DebugOverlayShortPathLinesSubmitted |
Friends | |
class | VertexPathfinder |
There are several vertex pathfinders running asynchronously, so their debug output might conflict.
To remain thread-safe, this single class will handle the debug data. NB: though threadsafe, the way things are setup means you can have a few more graphs and edges than you'd expect showing up in the rendered graph.
|
protected |
|
protected |
|
protected |
void VertexPathfinderDebugOverlay::RenderSubmit | ( | SceneCollector & | collector | ) |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |