diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-08 09:20:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-08 13:22:45 +0300 |
commit | 3249ab70ef6124e7fb910f987b0e033f42035bfa (patch) | |
tree | c2f69de0c987fd5414d2355039263011733608f8 /source/blender/blenlib/intern/BLI_dial_2d.c | |
parent | 4d4368389945b2b78e5d4f89b544a837bc157930 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/blenlib/intern/BLI_dial_2d.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_dial_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_dial_2d.c b/source/blender/blenlib/intern/BLI_dial_2d.c index 7363233d573..b5f1d7818cf 100644 --- a/source/blender/blenlib/intern/BLI_dial_2d.c +++ b/source/blender/blenlib/intern/BLI_dial_2d.c @@ -78,7 +78,7 @@ float BLI_dial_angle(Dial *dial, const float current_position[2]) cosval = dot_v2v2(current_direction, dial->initial_direction); sinval = cross_v2v2(current_direction, dial->initial_direction); - /* clamp to avoid nans in acos */ + /* clamp to avoid nans in #acos */ angle = atan2f(sinval, cosval); /* change of sign, we passed the 180 degree threshold. This means we need to add a turn. |