mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
added const
This commit is contained in:
@@ -65,7 +65,7 @@ namespace uml::prediction
|
|||||||
const Vector3 &targetPosition)
|
const Vector3 &targetPosition)
|
||||||
const
|
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 delta = targetPosition - projectile.m_origin;;
|
||||||
|
|
||||||
const auto distance2d = delta.Length2D();
|
const auto distance2d = delta.Length2D();
|
||||||
|
|||||||
Reference in New Issue
Block a user