diff options
Diffstat (limited to 'source/blender/blenlib/intern/math_geom.c')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index bebb5b02584..a48d985faed 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -3665,11 +3665,11 @@ void resolve_quad_uv_v2_deriv(float r_uv[2], float r_deriv[2][2], if (r_deriv) { float tmp1[2], tmp2[2], s[2], t[2]; - + /* clear outputs */ zero_v2(r_deriv[0]); zero_v2(r_deriv[1]); - + sub_v2_v2v2(tmp1, st1, st0); sub_v2_v2v2(tmp2, st2, st3); interp_v2_v2v2(s, tmp1, tmp2, r_uv[1]); @@ -4958,7 +4958,7 @@ float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3]) /* -7f causes instability/glitches with Bendy Bones + Custom Refs */ const float eps = 1e-5f; - + const float tan_dot = dot_v3v3(tan_l, tan_r); if (tan_dot > 1.0f - eps) { /* no angle difference (use fallback, length wont make any difference) */ |