Added transparent Python/C++ conversion for glm vector and matrix types
Based on pybind11/eigen.h, fairly simple. A bit of care had to be taken for matrices because glm stores the data in col-major layout in memory. It makes an unnecessary copy of the data in glm::make_mat*, but these types are small anyway.
Showing
utils/pybind11_glm.hpp
0 → 100644
Please register or sign in to comment