Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

QVM: Quaternions, Vectors, Matrices

boost/qvm/swizzle3.hpp

This header allows accessing vector elements by swizzling only for 3D vectors. You can include it instead of boost/qvm/swizzle.hpp if you don't need to swizzle vectors of other dimensions.


See also: Code Generator