updated projectile prediction

This commit is contained in:
2024-05-26 08:01:05 +03:00
parent d435625757
commit c600d53b20
2 changed files with 19 additions and 4 deletions

View File

@@ -50,6 +50,9 @@ namespace uml::prediction
std::optional<float> ProjectileTravelTime(const Vector3& end,
const Projectile& projectile,
float angle) const;
[[nodiscard]]
bool IsTargetWasHit(const Vector3& end, const Projectile& projectile, float angle, float time) const;
};
};