This is libt3d, a library for manipulating frames, 3d transformations, 3d rotations and 3d vectors.
The library has a C and a C++ API: