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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

QVM: Quaternions, Vectors, Matrices

boost/qvm/swizzle2.hpp

This header allows accessing vector elements by swizzling only for 2D 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