Multi-Dimension Vectors


vex was designed to be a single header drop in for handling object positions. Therefore, the logic and structures are contained in a single C++ header file.


vectors of any dimension can be created by creating a class 'vec_dimd<T,D>' where T is a floating point or integral type, and D is an unsigned number greater than 1.

There are two pre-defined vector types, vec2 and vec3, which can be defined using the same type restrictions stated above.

LICENSE: MIT (c) 2022 Jon Santmyer (