mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
22 lines
329 B
C++
22 lines
329 B
C++
//
|
|
// Created by Vlad on 6/9/2024.
|
|
//
|
|
|
|
#pragma once
|
|
#include "uml/Vector3.h"
|
|
|
|
|
|
namespace uml::prediction
|
|
{
|
|
class Target final
|
|
{
|
|
public:
|
|
|
|
[[nodiscard]]
|
|
Vector3 PredictPosition(float time, float gravity) const;
|
|
|
|
Vector3 m_origin;
|
|
Vector3 m_velocity;
|
|
bool m_isAirborne{};
|
|
};
|
|
} |