mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-12 22:53:27 +00:00
added const
This commit is contained in:
@@ -65,7 +65,7 @@ namespace uml::prediction
|
||||
const Vector3 &targetPosition)
|
||||
const
|
||||
{
|
||||
auto bulletGravity = projectile.m_gravityMultiplier*750.f;
|
||||
const auto bulletGravity = projectile.m_gravityMultiplier*750.f;
|
||||
const auto delta = targetPosition - projectile.m_origin;;
|
||||
|
||||
const auto distance2d = delta.Length2D();
|
||||
|
||||
Reference in New Issue
Block a user