#ifndef PATH_H_INCLUDED #define PATH_H_INCLUDED #include #include #include #include "keyboard.h" namespace path { class spacialRepresentation { public: spacialRepresentation(const sKeymap& k); unsigned char closestKeyTo(Eigen::Vector2f pos) const; // std::array points; Eigen::Matrix points; EIGEN_MAKE_ALIGNED_OPERATOR_NEW }; //Returns opaque pointer for caching std::unique_ptr keymapToSpace(const sKeymap& k); // std::vector wordToPath(spacialRepresentation*const, const std::string& word); std::string wordFromPath(const std::vector& path, const std::vector& nodes, pcg32_k64& r); } #endif //PATH_H_INCLUDED