mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
updated projectile prediction
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user