Avoid calling powf with integer exponent in more places
authorSergej Reich <sergej.reich@googlemail.com>
Tue, 11 Nov 2014 17:16:20 +0000 (18:16 +0100)
committerSergej Reich <sergej.reich@googlemail.com>
Tue, 11 Nov 2014 17:16:20 +0000 (18:16 +0100)
commit52d571e189d5ba48dbbc2ad0cf24608f30c6bbc2
tree1677047e684f3c44168e3be30ceddec926782110
parent490b73ff22ce554eaed6f0804b1fd1e9f36ceb43
Avoid calling powf with integer exponent in more places

Move powX functions from particle code into math library and use them.
source/blender/blenkernel/intern/brush.c
source/blender/blenkernel/intern/cloth.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/smoke.c
source/blender/blenlib/BLI_math_base.h
source/blender/blenlib/intern/math_base_inline.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/uvedit/uvedit_draw.c
source/blender/render/intern/source/rayshade.c