未验证 提交 07ae6b4c 编写于 作者: B Ben Torell 提交者: GitHub

Merge pull request #2930 from tt2468/patch-1

libobs: Return target instead of current in calc_torquef
......@@ -72,7 +72,7 @@ float calc_torquef(float val1, float val2, float torque, float min_adjust,
bool over;
if (close_float(val1, val2, EPSILON))
return val1;
return val2;
dist = (val2 - val1) * torque;
over = dist > 0.0f;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册