We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc0811 commit d5cc3d7Copy full SHA for d5cc3d7
apps/bot_manager/lib/spline_path.ex
@@ -4,8 +4,8 @@ defmodule SplinePath do
4
"""
5
alias BotManager.Math.Vector
6
7
- @segment_point_amount 15
8
- @tension 0
+ @segment_point_amount 5
+ @tension 0.2
9
@alpha 0.5
10
11
def smooth_path(waypoints) when length(waypoints) < 3 do
0 commit comments