Blender Git Loki

Git Commits -> Revision b236400

Revision b236400 by Sergey Sharybin (master)
June 12, 2018, 13:51 (GMT)
Math: Remove unused functions which are not safe for threading

All areas are toy use "local" number generator, in order to keep
behavior predictable and threadable. This is what BLI_rng_() API
is for.

There are still lots of usages of BLI_frand(), which are to be
ported to BLI_rng_get_float(). but that is somewhat involved.

For the time being, remove unsafe API, so new areas have zero
chance using it.

Commit Details:

Full Hash: b236400ff5b6b18f0b81fb326b95719be7ebe379
Parent Commit: 6231a07
Lines Changed: +1, -25

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019