Blender Git Loki
Git Commits -> Revision f2ac432
Revision f2ac432 by Hans Goudey (master) August 4, 2020, 15:43 (GMT) |
Cleanup: Bevel: Split two case for loop into separate function Previously a for loop with two iterations was used to calculate the 3D segment locations for the input number and the higher power of 2. Splitting off the inside of the for loop to a separate function makes the code more readable. This commit also includes a simple timer for bevel, enabled with a define. Interestingly, the cleanup in this commit happended to give a 3% speedup on a Ryzen 3700x for a bevel calculation with 64 segments. |
Commit Details:
Full Hash: f2ac432467e9ba8f7d1092ae4777ba1640104abd
Parent Commit: 93d8373
Lines Changed: +93, -73
1 Modified Path:
/source/blender/bmesh/tools/bmesh_bevel.c (+93, -73) (Diff)