Move some static math functions out of paint_image.c into arithb.c
authorCampbell Barton <ideasman42@gmail.com>
Fri, 18 Sep 2009 16:39:45 +0000 (16:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 18 Sep 2009 16:39:45 +0000 (16:39 +0000)
commitc388244be4eac3535e785516d0a8c4b5b5d22643
tree0bd172bc90f91977d1dc856c7179582c8807175a
parent9787a2e55aecef7cad850b7e3bccf62af7220a21
Move some static math functions out of paint_image.c into arithb.c
* VecLerp3f and Vec2Lerp3f - interpolate 3 2d/3d vectors from 3 weights
* AngleToLength(angle) - useful for making even width shell/walls based on the angles of the surrounding geometry from each point. (same method used in 2.4x python solidify script).

also quiet some warnings.
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenlib/BLI_arithb.h
source/blender/blenlib/intern/arithb.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/makesrna/intern/rna_particle.c
source/blender/render/intern/source/convertblender.c