Files
omath/include/omath/projectile_prediction/target.hpp
Orange d12b236e56 Refactors target position prediction
Moves target prediction logic into engine traits, improving modularity.

This change consolidates target position prediction within the engine traits,
allowing for a more flexible and maintainable design.

This eliminates redundant code and simplifies the core prediction engine by
delegating target movement calculations to the appropriate trait.
2025-08-04 03:16:04 +03:00

17 lines
312 B
C++

//
// Created by Vlad on 6/9/2024.
//
#pragma once
#include "omath/vector3.hpp"
namespace omath::projectile_prediction
{
class Target final
{
public:
Vector3<float> m_origin;
Vector3<float> m_velocity;
bool m_is_airborne{};
};
} // namespace omath::projectile_prediction