improved projectile code

This commit is contained in:
2024-05-07 02:12:17 +03:00
parent a2b1b5635a
commit edc01cfece
2 changed files with 6 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ namespace uml::prediction
const Vector3& targetPosition) const;
[[nodiscard]]
float ProjectileTravelTime(const Vector3& end, const Projectile& projectile,
std::optional<float> ProjectileTravelTime(const Vector3& end, const Projectile& projectile,
const float angle) const;
};