added AVX2

This commit is contained in:
2025-02-22 22:57:29 +03:00
parent 244d01c313
commit 5639cd0eb5
3 changed files with 116 additions and 48 deletions

View File

@@ -31,6 +31,8 @@ namespace omath::prediction
const Vector3& targetPosition) const;
[[nodiscard]] static std::optional<float> CalculatePitch(const Vector3 &projOrigin, const Vector3 &targetPos,
float bulletGravity, float v0, float time) ;
[[nodiscard]]
bool IsProjectileReachedTarget(const Vector3& targetPosition, const Projectile& projectile, float pitch, float time) const;