Boost QVM

Boost QVM defines a set of generic functions and operator overloads for working with quaternions, vectors and matrices of static size with the emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications. While it provides its own quaternion, matrix and vector types, it is designed to work primarily with user-defined types through user specializations of the q_traits, v_traits and m_traits templates.

Note that Boost QVM is not part of Boost. Please post questions and suggestions on the Boost Developers Mailing List.

Click here to download the source code and this documentation.


  1. Motivation
  2. Tutorial
  3. Reference
  4. Synopsis
  5. Code generator
  6. Known quirks and issues
  7. Rationale for overloading operator%
  8. Questions and answers
  9. Indexes