micro optimization for circle drawing.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 17 Sep 2011 06:18:35 +0000 (06:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 17 Sep 2011 06:18:35 +0000 (06:18 +0000)
commit5114320dc5d2331e3e927dd83ee53e0088c23e87
treea53a9612612b5c8fad5b086c78a9bb3a408fe8f5
parent4aefbb77e4601697c8038f75b205c284383cb6e2
micro optimization for circle drawing.
- use vertex array for drawcircball()
- add circball_array_fill() and call from drawcircball().
- for object center's rather than drawing 2 circles, create the array and reuse it.
source/blender/editors/space_view3d/drawobject.c