de-duplicate dominant axis calculation, exact same checks were in 6 different places.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 2 Dec 2011 22:14:20 +0000 (22:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 2 Dec 2011 22:14:20 +0000 (22:14 +0000)
commit06c3d5bd09e104d070d9e6c97e4baa265094240c
tree4f2c500b06e67c06f7186b381245016acc2221fe
parent20620a988a8919116c69b618af04a15535f89c4b
de-duplicate dominant axis calculation, exact same checks were in 6 different places.
added function:  axis_dominant_v3(...)
source/blender/blenlib/BLI_math_geom.h
source/blender/blenlib/intern/math_geom.c
source/blender/blenlib/intern/scanfill.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c
source/blender/render/intern/source/rayshade.c
source/blender/render/intern/source/render_texture.c
source/blender/render/intern/source/shadeinput.c