diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-05-06 22:19:05 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-05-06 22:19:05 -0700 |
commit | d5cc97b1d38ef7a54a7c1b58efd93d3d9eb371c5 (patch) | |
tree | 44dc94bd2f3387a5a8c0d320ab75da9d82084320 /LICENSE | |
parent | 7de752ffcc3f357001207c80dcef2fa12608a806 (diff) |
v2f: add distance: v2f_distance()
v2f_distance_sq() variant omits the sqrtf(), which is often a
possible optimization when e.g. comparing distances; just operate
uniformly with squares of the distances and you can skip the
expensive square roots.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions