mirror of
https://github.com/orange-cpp/omath.git
synced 2026-08-10 06:52:06 +00:00
fixed projectile prediction for double
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
|
||||
namespace omath::projectile_prediction
|
||||
{
|
||||
template <class ArithmeticType = float>
|
||||
class Target final
|
||||
{
|
||||
public:
|
||||
Vector3<float> m_origin;
|
||||
Vector3<float> m_velocity;
|
||||
Vector3<ArithmeticType> m_origin;
|
||||
Vector3<ArithmeticType> m_velocity;
|
||||
bool m_is_airborne{};
|
||||
};
|
||||
} // namespace omath::projectile_prediction
|
||||
} // namespace omath::projectile_prediction
|
||||
|
||||
Reference in New Issue
Block a user