Boost
Libraries
arrow_drop_down
Boost.Qvm
M
D
C++ 03 Added in Boost 1.62.0
Categories:   MathAlgorithmsGeneric

Generic C++ library for working with Quaternions Vectors and Matrices.

Commits Per Release303025252020151510105500152952191032136640142834331.69.01.69.01.70.01.70.01.71.01.71.01.72.01.72.01.73.01.73.01.74.01.74.01.75.01.75.01.76.01.76.01.77.01.77.01.78.01.78.01.79.01.79.01.80.01.80.01.81.01.81.01.82.01.82.01.83.01.83.01.84.01.84.01.85.01.85.01.86.01.86.01.87.01.87.01.88.01.88.0

This Release

Emil Dotchevski
Emil Dotchevski
Author

QVM

A generic C++ library for working with Quaternions, Vectors and Matrices.

Documentation

https://boostorg.github.io/qvm/

Features

  • Emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications.
  • Free function templates operate on any compatible user-defined Quaternion, Vector or Matrix type.
  • Enables Quaternion, Vector and Matrix types from different libraries to be safely mixed in the same expression.
  • Type-safe mapping between compatible lvalue types with no temporary objects; f.ex. transpose remaps the access to the elements, rather than transforming the matrix.
  • Requires only {CPP}03.
  • Zero dependencies.

Support

Distribution

Besides GitHub, there are two other distribution channels:

  • QVM is included in official Boost releases.
  • For maximum portability, the library is also available in single-header format, in two variants (direct download links):
    • qvm.hpp: single header containing the complete QVM source, including the complete set of swizzling overloads.
    • qvm_lite.hpp: single header containing everything except for the swizzling overloads.

Copyright 2008-2023 Emil Dotchevski and Reverge Studios, Inc. Distributed under the Boost Software License, Version 1.0.