mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
21 lines
368 B
C++
21 lines
368 B
C++
//
|
|
// Created by Vlad on 6/9/2024.
|
|
//
|
|
|
|
#pragma once
|
|
#include "omath/Vector3.hpp"
|
|
|
|
namespace omath::prediction
|
|
{
|
|
class Projectile final
|
|
{
|
|
public:
|
|
|
|
[[nodiscard]]
|
|
Vector3 PredictPosition(float pitch, float yaw, float time, float gravity) const;
|
|
|
|
Vector3 m_origin;
|
|
float m_launchSpeed{};
|
|
float m_gravityScale{};
|
|
};
|
|
} |