muu/packed_unit_vector.h file

Contains the definition of muu::packed_unit_vector.

Namespaces

namespace muu
The root namespace for all muu functions and types.

Classes

template <typename Integer, size_t Dimensions>
struct muu::packed_unit_vector
A utility type for lossy packing of 2D or 3D unit vectors into a single integer.
template <typename Integer, size_t Dimensions>
struct muu::constants<packed_unit_vector<Integer, Dimensions>>
Packed unit vector constants.