add projectile

This commit is contained in:
2026-03-17 19:36:35 +03:00
parent 37ea091282
commit b8e61f49fa
5 changed files with 59 additions and 4 deletions

View File

@@ -71,6 +71,20 @@ namespace omath::hud::widget
Color color;
float radius = 3.f;
};
struct ProjectileAim
{
enum class Figure
{
CIRCLE,
SQUARE,
};
Vector2<float> position;
Color color;
float size = 3.f;
float line_size = 1.f;
Figure figure = Figure::SQUARE;
};
// ── Side-agnostic widgets (used inside XxxSide containers) ────────────────