![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Grid-snapping helper for the VS graph canvas (Phase 7). More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::GridSnapping |
| Singleton grid-snapping helper. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Grid-snapping helper for the VS graph canvas (Phase 7).
GridSnapping is a lightweight singleton that aligns node positions to a configurable grid. When disabled, Snap() / SnapX() / SnapY() return the input value unchanged so callers need no extra branch.
C++14 compliant — no std::optional, structured bindings, std::filesystem.
Definition in file GridSnapping.h.