![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Bezier control-point cache for VS graph connections (Phase 7). More...
#include <cstddef>#include <map>
Include dependency graph for ConnectionCache.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Olympe::BezierPoints |
| Four cubic Bezier control points (P0..P3). More... | |
| class | Olympe::ConnectionCache |
| Singleton cache mapping connection IDs to Bezier control points. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Bezier control-point cache for VS graph connections (Phase 7).
ConnectionCache avoids recomputing cubic Bezier control points for every rendered connection each frame. When a connection's endpoints change, the caller calls Invalidate() so the renderer recomputes and re-stores the points via SetBezier().
C++14 compliant — no std::optional, structured bindings, std::filesystem.
Definition in file ConnectionCache.h.