vmmlib  1.12.0
Templatized C++ vector and matrix math library
vmmlib Documentation


A templatized C++ vector and matrix math library.

VMMLib includes a vector and a matrix class, with additional functionality for the often-used 3d and 4d vectors and 3x3 and 4x4 matrices. More advanced features include solvers, frustum computations and frustum culling classes and spatial data structures.

VMMLib is implemented using C++ templates, making it versatile. Being a header-only library, it is very easy to integrate into your libraries and programs. There is no need to build and install a library, just include the headers and you are set. The BSD license allows the usage both in open source and commercial closed source software.


VMMLib provides the following major classes:


Please file a Bug Report if you find any issue with this software.


VMMLib is a cross-platform library, designed to run on any modern operating system, including all Unix variants and the Windows operating system. It requires a C++11 compiler. VMMLib uses CMake to create a platform-specific build environment. The following platforms and build environments are tested:

  • Linux: Ubuntu 16.04, RHEL 6.8 (Makefile, Ninja)
  • Windows: 7 (Visual Studio 2012)
  • Mac OS X: 10.9 (Makefile, Ninja)

Building from source is as simple as:

git clone https://github.com/Eyescale/vmmlib.git
mkdir vmmlib/build
cd vmmlib/build
cmake -GNinja ..