#pragma once #include "Component.hpp" #include "raylib.h" #include /** * Predicts and renders the probe's near-future trajectory. */ struct ProjectionComponent : public Component { std::vector points; int steps = 30; float stepDt = 1.0f / 60.0f; float pointRadius = 2.4f; bool highlightActive = false; Color inactiveColor = Color{125, 146, 178, 120}; Color activeColor = Color{160, 206, 255, 220}; void Setup() override; void Update(float dt) override; void Cleanup() override; void Draw() const; };