code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 6 Jul 2012 22:48:28 +0000 (22:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 6 Jul 2012 22:48:28 +0000 (22:48 +0000)
commit3a0593cc3d5de33248b3a7b913a45729c37dc1b4
tree88fcddc5e3c060c87a6313d853315f0efa484a52
parent2336aadb80f8602f001b2c5b0bcaacf3ad858f83
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.

also added some comments.
18 files changed:
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/collision.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/font.c
source/blender/blenkernel/intern/smoke.c
source/blender/blenkernel/intern/softbody.c
source/blender/blenkernel/intern/tracking.c
source/blender/blenlib/intern/freetypefont.c
source/blender/bmesh/operators/bmo_hull.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/mesh/editmesh_knife.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/uvedit/uvedit_smart_stitch.c
source/blender/render/intern/source/shadeoutput.c
source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
source/gameengine/Ketsji/KX_ObstacleSimulation.cpp