summaryrefslogtreecommitdiff
path: root/editor/editor_spin_slider.h
diff options
context:
space:
mode:
authorSimon Puchert <simonpuchert@alice.de>2019-07-06 17:41:13 +0200
committerSimon Puchert <simonpuchert@alice.de>2019-07-06 17:41:13 +0200
commit4b78e17b1587611e3e6cfdb6074f85ffbfc933f8 (patch)
treee54006d5154bc8c76ed413bf5efda34be0c43d6d /editor/editor_spin_slider.h
parent0b6b49a897b35bec53765e1288c32d57afa1a293 (diff)
Optimize get_closest_point_to_segment*.
By combining all scalar factors we can get rid of a scalar * vector multiplication and a square root operation, since the resulting formula only uses the squared length.
Diffstat (limited to 'editor/editor_spin_slider.h')
0 files changed, 0 insertions, 0 deletions