diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-27 12:48:17 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-28 02:34:46 +0300 |
commit | 397731d4df44197cf9cf359d9da38156ad86904e (patch) | |
tree | 8d987715ed414dbfa2c4c8b1b6880328380647ee /source/blender/editors/sculpt_paint/curves_sculpt_intern.hh | |
parent | 38af5b0501005d8ee84a59f027417bf6a31fcc5e (diff) |
BLI_math: improve symmetrical values from sin_cos_from_fraction
When plotting equally distant points around a circle support an extra
axis of symmetry so twice as many exact values are repeated than
originally added in [0], see code-comments for a detailed explanation.
Tests to ensure accuracy and exact symmetry have been added too.
Follow up on fix for T87779.
[0]: 087f27a52f7857887e90754d87a7a73715ebc3fb
Diffstat (limited to 'source/blender/editors/sculpt_paint/curves_sculpt_intern.hh')
0 files changed, 0 insertions, 0 deletions