sci-libs/
cqrlib

Utility library for quaternion arithmetic / rotation math (ANSI C implemented)

http://cqrlib.sourceforge.net/