code cleanup: reduce calling sqrt() when distances are only calculated for comparison...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 14 Aug 2012 08:44:35 +0000 (08:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 14 Aug 2012 08:44:35 +0000 (08:44 +0000)
commitf2074949e7a3dbf3a1dc5b51a0a3eee0eee9aada
tree1912a8eb416499bdba69f0955515b3d905c52024
parent8d496b3bf2c58a0a161c20c987f414953a6d1e87
code cleanup: reduce calling sqrt() when distances are only calculated for comparison use dist_squared_to_line_segment_v2().
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/editors/mesh/editmesh_rip.c
source/blender/editors/space_clip/tracking_select.c
source/blender/editors/uvedit/uvedit_ops.c