diff options
author | Mai Lavelle <lavelle@gmail.com> | 2015-04-13 12:14:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-13 12:17:00 +0300 |
commit | 176ed5bfe280ef2151f93c0940d54498aaf00d71 (patch) | |
tree | bc2a4dcdd093fb785f6a7b997c7c8691ec083cbb /source/blender/blenkernel/BKE_paint.h | |
parent | 6fbf05f326911d10e6227837f8b5de1d86f950b2 (diff) |
Fix hair random rotation limited to 180 degrees
The issue was caused by phase being limited from 0 to 1, which gave only
0..M_PI distribution which is not good enough for good randomness.
Now the phase is being randomized across full 0..2*M_PI range.
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
0 files changed, 0 insertions, 0 deletions