Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Functions
RenderHelpers.cpp File Reference

Implementation of rendering helper functions for node graphs. More...

#include "RenderHelpers.h"
#include "../AI/BehaviorTree.h"
#include "../third_party/imnodes/imnodes.h"
+ Include dependency graph for RenderHelpers.cpp:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 
namespace  Olympe::NodeGraphShared
 

Functions

ImVec2 Olympe::NodeGraphShared::ComputePinCenterScreen (int nodeId, const BTNodeLayout *layout, bool isOutput, float pinOffset, float headerHeight, float zoom)
 Compute the screen-space center position of a pin.
 
void Olympe::NodeGraphShared::DrawPinCircle (ImDrawList *drawList, const ImVec2 &center, float radius, uint32_t color, uint32_t outlineColor, float outlineThickness)
 Draw a pin circle with outline.
 

Detailed Description

Implementation of rendering helper functions for node graphs.

Definition in file RenderHelpers.cpp.