Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-06 | v3f: add random vector within range: v3f_rand() | Vito Caputo | |
2019-05-06 | v3f: add tri-linear interpolation: v3f_trilerp() | Vito Caputo | |
2019-05-06 | v3f: add bi-linear interpolation: v3f_bilerp() | Vito Caputo | |
2019-05-06 | v3f: add cross product: v3f_cross() | Vito Caputo | |
2019-05-06 | v3f: mechanical rename and handle NULL res ptrs | Vito 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-06 | v3f: update copyright line | Vito Caputo | |
2018-10-02 | v3f: add scalar division | Vito Caputo | |
2018-10-02 | v3f: add pointer result variants | Vito Caputo | |
It can be convenient to supply and return a result pointer, making for more composable vector operations. | |||
2018-10-02 | v3f: Add a three-dimensional float vector header | Vito Caputo | |