#include <array>
template <typename T>
class Vector4<T> {
std::array<T, 4> _a; // or T _a[4]; ?
};
template <typename T>
class Matrix4<T> {
std::array<T, 16> _a; // or T _a[16]; ?
//Vector4<T> row0; // or should i use this instead
//Vector4<T> row1; // it makes other code easier but how
//Vector4<T> row2; // can i implement something like
//Vector4<T> row3; // std::array::data()?
};
thanks
edit: ya its for 3d game programming... so i will need more then boost matrix can provide anyway like rotate and translate and invert etc...