vmmlib  1.14.0
Templatized C++ vector and matrix math library
 All Pages
README.md
1 [TOC]
2 
3 # Introduction
4 
5 A templatized C++ vector and matrix math library.
6 
7 VMMLib includes a vector and a matrix class, with additional
8 functionality for the often-used 3d and 4d vectors and 3x3 and 4x4
9 matrices. More advanced features include solvers, frustum computations
10 and frustum culling classes and spatial data structures.
11 
12 VMMLib is implemented using C++ templates, making it versatile. Being a
13 header-only library, it is very easy to integrate into your libraries
14 and programs. There is no need to build and install a library, just
15 include the headers and you are set. The BSD license allows the usage
16 both in open source and commercial closed source software.
17 
18 # Features
19 
20 VMMLib provides the following major classes:
21 * Basic matrix math: vmml::vector, vmml::quaternion, vmml::matrix
22 * OpenGL math: vmml::Frustum, vmml::FrustumCuller, vmml::AABB
23 * Detailed @ref Changelog
24 
25 # Bugs
26 
27 Please file a [Bug Report](https://github.com/Eyescale/vmmlib/issues) if
28 you find any issue with this software.
29 
30 # Building
31 
32 VMMLib is a cross-platform library, designed to run on any modern
33 operating system, including all Unix variants and the Windows operating
34 system. It requires a C++11 compiler. VMMLib uses CMake to create a
35 platform-specific build environment. The following platforms and build
36 environments are tested:
37 
38 * Linux: Ubuntu 16.04, RHEL 6.8 (Makefile, Ninja)
39 * Windows: 7 (Visual Studio 2012)
40 * Mac OS X: 10.9 (Makefile, Ninja)
41 
42 Building from source is as simple as:
43 
44  git clone --recursive https://github.com/Eyescale/vmmlib.git
45  mkdir vmmlib/build
46  cd vmmlib/build
47  cmake -GNinja ..
48  ninja