mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-16 18:43:25 +00:00
21 lines
520 B
C++
21 lines
520 B
C++
//
|
|
// Created by Vlad on 2/23/2025.
|
|
//
|
|
#pragma once
|
|
#include "Projectile.hpp"
|
|
#include "Target.hpp"
|
|
#include "omath/Vector3.hpp"
|
|
|
|
|
|
namespace omath::projectile_prediction
|
|
{
|
|
class ProjPredEngine
|
|
{
|
|
public:
|
|
[[nodiscard]]
|
|
virtual std::optional<Vector3> MaybeCalculateAimPoint(const Projectile& projectile,
|
|
const Target& target) const = 0;
|
|
virtual ~ProjPredEngine() = default;
|
|
};
|
|
} // namespace omath::projectile_prediction
|