diff --git a/apps/bot_manager/lib/math/vector.ex b/apps/bot_manager/lib/math/vector.ex index 7b1c8aab0..9102c8db2 100644 --- a/apps/bot_manager/lib/math/vector.ex +++ b/apps/bot_manager/lib/math/vector.ex @@ -52,8 +52,7 @@ defmodule BotManager.Math.Vector do } end - def deg2rad(deg) do - deg * :math.pi / 180 + deg * :math.pi() / 180 end end