summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-06v2f: add GPLv3 LICENSE fileHEADmasterVito Caputo
2019-05-06v2f: add nearest integrals: v2f_ceil()/v2f_floor()Vito Caputo
2019-05-06v2f: add random vector within range: v2f_rand()Vito Caputo
2019-05-06v2f: add tri-linear interpolation: v2f_trilerp()Vito Caputo
2019-05-06v2f: add bi-linear interpolation: v2f_bilerp()Vito Caputo
2019-05-06v2f: add distance: v2f_distance()Vito Caputo
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.
2019-05-06v2f: mechanical rename and handle NULL res ptrsVito Caputo
The return by value variants of the vector-returning functions have been renamed to be prefixed with an _. Now the return by pointer variants lack any prefix as it's expected they'll be more commonly used in practice. Another change is the return by pointer variants now take the result pointer as the first argument, and a NULL result pointer is handled by dynamically allocating the result memory.
2019-05-06v2f: update copyright lineVito Caputo
2018-10-02v2f: add scalar divisionVito Caputo
2018-10-02v2f: add pointer result variantsVito Caputo
it can be convenient to supply and return a result pointer, making for more composable vector operations.
2018-10-02v2f: Add a two-dimensional float vector headerVito Caputo
© All Rights Reserved